Question Eduard Lebedyuk · May 23, 2018 How to create a POST redirect? #CSP #REST API #Frontend #Caché User calls my REST service. I need:Redirect him to a POST urlProvide request bodyIs it possible? How? 0 0 547
Tomas Vaverka · May 23, 2018 Purpose of REST is not to provide web pages, therefore I do not think this is possible. I remember once I tried it based on request from another customer and failed. Eduard Lebedyuk · May 23, 2018 Redirect is easy to do in REST: set %response.Redirect = "url" And that's it. The problem is forcing a client to redirect to a POST verb and also providing the body. Peter Cooper · May 23, 2018 Hi EduardServerside redirect?Peter Eduard Lebedyuk · May 24, 2018 Wouldn't work in that context (OAuth authentication). Nicki Vallentgoed · Feb 23, 2022 Did you ever get a resulotion to this?
Eduard Lebedyuk · May 23, 2018 Redirect is easy to do in REST: set %response.Redirect = "url" And that's it. The problem is forcing a client to redirect to a POST verb and also providing the body. Peter Cooper · May 23, 2018 Hi EduardServerside redirect?Peter Eduard Lebedyuk · May 24, 2018 Wouldn't work in that context (OAuth authentication). Nicki Vallentgoed · Feb 23, 2022 Did you ever get a resulotion to this?
Peter Cooper · May 23, 2018 Hi EduardServerside redirect?Peter Eduard Lebedyuk · May 24, 2018 Wouldn't work in that context (OAuth authentication). Nicki Vallentgoed · Feb 23, 2022 Did you ever get a resulotion to this?
Purpose of REST is not to provide web pages, therefore I do not think this is possible. I remember once I tried it based on request from another customer and failed.
Redirect is easy to do in REST:
And that's it. The problem is forcing a client to redirect to a POST verb and also providing the body.
Hi Eduard
Serverside redirect?
Peter
Wouldn't work in that context (OAuth authentication).
Did you ever get a resulotion to this?