Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for PUTting and POSTing non-form data [SPR-5409] #10082

Closed
spring-projects-issues opened this issue Jan 13, 2009 · 1 comment
Closed
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jan 13, 2009

Arjen Poutsma opened SPR-5409 and commented

Especially in RESTful Web Service scenario's, incoming data often takes the form of XML and JSON data. We should support binding this data to @Controller method parameters, in the same way we support submitted form data currently.


This issue is a sub-task of #9097

Issue Links:

Referenced from: commits 035eea0

2 votes, 1 watchers

@spring-projects-issues
Copy link
Collaborator Author

Arjen Poutsma commented

This can now be done by annotating a handle method parameter with @RequestBody, using the same HttpMessageConverter mechanism used by the RestTemplate. A blog post about this functionality is forthcoming.

@spring-projects-issues spring-projects-issues added in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.0 M3 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants