DEV Community


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

vijaysrj profile image Vijay SRJ ・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)

Editor guide