阅读背景:

Web API在本地工作,发布时会抛出JSON错误

来源:互联网 

I have created a Web API which returns data using AngularJS and when run locally the data displays in my web page. I then publish the local Web API to my web host and point my AngularJS code to the web host, but then I get the error: "SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data". Below is my AngularJS code. What setting on my web host might I be able to change to get this to work?I have created a Web API which returns data usi




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

分享到: