Environment: vs2013
Problem: An error occurred while calling a WEBAPI:
So I use fiddler 4 to call this webapi directly, the status code is 200 (normal), but the JSON hints at location 9409 text illegal,
Viewed in a textview way, traces of brow link were found at 9409:
I actually query the fagui_html field from the table in the database, which is an HTML code that represents the HTML page, before serializing, Vs2013 inserted the code of Browser link before the </body> of my Code.
Workaround: disable browser Link in Vs2013:
A tick is enabled, and clicking is disabled on the tick state.
Start VS2013 again, call the same command again with Fiddler 4, and this time JSON will parse
Of course, there's no browser link code in TextView.
question: I changed a lot of other records test, no problem, and I have tested many times before, did not appear this problem, why this record will appear this problem, I this HTML code what special place?
There is no good solution, welcome to share.
The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.