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

restful提交json,requestBody #37

Open
yqMac opened this issue Dec 12, 2016 · 4 comments
Open

restful提交json,requestBody #37

yqMac opened this issue Dec 12, 2016 · 4 comments

Comments

@yqMac
Copy link

yqMac commented Dec 12, 2016

Restful,返回json可以使用字符串返回,但是提交json,requestBody如何实现,我根据SpringMVC来做接收不到参数

@kailbin
Copy link

kailbin commented Jun 2, 2017

同问

@met-pub
Copy link

met-pub commented Jun 6, 2017

自己转吧

@bsqql123
Copy link

bsqql123 commented Aug 16, 2017

在下面链接里,小米rose框架团队提到没有支持application/json 请求的计划:

XiaoMi/rose#3

spring mvc提供了 @RequestBody 注解但是rose并没有提供类似于这样的功能
类似于


@ RequestMapping("test")
public String hello(@RequestBody String name){
 //to do ...
}

@whyong
Copy link

whyong commented Mar 15, 2018

@bsqql123 这个代码连接已经不能打开了,需要用这个功能,如果方便请发给我一份
[email protected]
谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants