DEV Community


How to redirect to an external URL in Spring Boot REST (Post/Redirect/Get design pattern)?

Vijay SRJ
Tinkerer. I tinker code. I also blog @
・1 min read

We can redirect to an external URL after making an API request to a backend application using Post/Redirect/Get design pattern

Here is a simple example of how to do that in backend code using Spring Boot REST Controller:

Discussion (0)