阅读背景:

HttpClient尝试将有效负载解析为json

来源:互联网 

I'm working on a project which has rails api as a back-end and angular as a front end. In one particular point I need to make a text/plain call. Even though I set the content-type to 'text/plain', HttpClient tries to parse payload to json. I can't figure out why it behaves like that.I'm working on a project which has rails api as




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: