You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/12/05 09:29:27 UTC

[GitHub] [servicecomb-java-chassis] pengyaobin commented on issue #1442: 前台数据是一个非json的字符串,后台如何获取

pengyaobin commented on issue #1442: 前台数据是一个非json的字符串,后台如何获取
URL: https://github.com/apache/servicecomb-java-chassis/issues/1442#issuecomment-562045854
 
 
   > 前台传的数据格式是不是不对啊?json的字符串要求用双引号包起来,比如你传`abc`,直接这么传是会报错的,得传`"abc"`才行。
   > 建议拿 postman 或者 curl 试一下
   
   谢谢,问题已经解决了,因为我们前台的请求头中设置的数据类型是json,前台将数据类型改为text/plain后就接收到了

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services