PDA

View Full Version : Submitting form values POST as JSON in the RequestBody



bytor99999
Jan 30th, 2012, 03:55 PM
While my code works without it, I really want to make my Website and all requests, except for the index page to be pure REST, so my posts from my forms need to come in the RequestBody as json. I am also using JQuery, so I do a $.post() call for the event on the button of the form.

Do I have to use Spring's form tags and the hidden field for Request method type?

Thanks

Mark