POST without using form


(Pramesh) #1

It is possible to send POST requests from method of one controller to another. I don’t want to use a form since data is generated by some logic. I need to send that as a POST request

(Greg Methvin) #2

Do you mind explaining more clearly what you are trying to do?

(Pramesh) #3

I want to send a post request to some url. Is is possible to do that without using form and from the code itself?

(Greg Methvin) #4

If you want to send a POST request from Play to some external URL, you can use the WSClient.

(Pramesh) #5

Got it.Thanks :)