I\'m using spring mvc. And I can\'t get param from url when method = post. But when I change method to GET, so I can get all param.
This is my form:
You should use @RequestParam
on those resources with method = RequestMethod.GET
In order to post parameters, you must send them as the request body. A body like JSON or another data representation would depending on your implementation (I mean, consume and produce MediaType
).
Typically, multipart/form-data is used to upload files.