Akka http redirect but change method from POST to GET

Viewed 500

I have endpoint using POST method ( registering token for example ), after job done I want to redirect client to "/" url, but using GET not POST. How to achieve this ?

For now I have:

redirect("/", StatusCodes.PermanentRedirect)
1 Answers
Related