Can't retrieve form data with POST and @RequestParam("myParamName") #724
Closed
Description
@RequestMapping(value = "/reverse", method = RequestMethod.POST, code = 200)
public void doPostReverse(@RequestParam("reverseParam") String reverseParam, Callback<String> callback) {
String retval = reverseParam!=null?new StringBuilder(reverseParam).reverse().toString():"reverseParam was NULL";
System.out.println("In: " + reverseParam + ", Out: " + retval);
......
Method parameter 'String reverseParam' is never populated from a form data submission (constructed by Chrome-Postman client), any ideas what I'm doing wrong (qbit 1.6.0)???
The URL _is_ being called, as the 'System.out...' call is executed ("In: null....").
Metadata
Assignees
Labels
No labels