POST method « Web Service « Spring Q&A

1. annotated post and get on same method

may i know is it possible to annotate one method with 2 post and get ?

@RequestMapping(value = "/testonly", method = RequestMethod.GET, RequestMethod.POST)
public String getSomething(){


2. REST method's won't PUT or POST to the server

I'm trying to get some REST methods working in my Spring app but seem to be running into little success. I'm obviously missing something but I can't tell for the life ...

3. Can Spring MVC have request parameters for an HTTP PUT method, or must I use post? Which should I use to be RESTful?

I have a controller action I think should be an HTTP PUT, but Spring is complaining when I try and use @RequestParam in the controller action. Is request parameters not allowed ...

4. RestFull Webservices with POST method

Jan 6th, 2010, 10:55 AM #1 malliseven.hills View Profile View Forum Posts Private Message Junior Member Join Date Dec 2009 Posts 15 RestFull Webservices with POST method Hi, I'm getting problem ...