Reputation: 4725
In the documentation of Spock, here https://www.spock.li/2015/04/19/type-safe_routing.html, it only describes how to capture parameters from a get request. I need to capture ones from a post. How can I do that?
Upvotes: 1
Views: 460
Reputation: 568
You can use the same param'
or param
functions.
From the documentation :
Read a request param. Spock looks POST variables first and then in GET variable
Upvotes: 1