-
Notifications
You must be signed in to change notification settings - Fork 414
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
请问,如何POST JSON格式数据 #3
Comments
你好,该需求已经加入到项目TODO列表,将会排期设计实现。 |
强烈要求+1 |
不知道这个issue进度如何呢? |
此需求实现了吗? |
这个json的请求,我这边实现了。我找了个httpclient工具类,支持http 和https的请求 |
希望增加Json格式的RequestBody以及Json格式展示时不要用text,且能格式化显示,高亮显示 From:#31 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
工程已经成功运行起来了,感觉跟crapapi有点类似,总体感觉更简洁一些。
目前,有个问题请教一下
如何POST一个JSON串?
目前,我增加了一个请求头部:Content-Type application/json;增加了两个请求参数(id,name),分类为JSON类型,提交请求之后,服务器返回异常。
注:使用postman做测试,可以设置raw类型参数,直接贴json串,请求正常返回
The text was updated successfully, but these errors were encountered: