DEV Community

loading...

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 @https://fullstackdeveloper.guru/
・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:

https://fullstackdeveloper.guru/2021/03/12/how-to-redirect-to-an-external-url-from-spring-boot-rest-controller/

Discussion (0)