Is html written in the background wrong in the data returned by iOSjson parsing?

Source: Internet
Author: User
Html is included in the json parsing result of the json source sound. What is the problem when someone else says it is a server interface?

Html is included in the json parsing result of the json source sound. It is difficult to say that the server interface is written.

What's going on?

Reply content:

Html is included in the json parsing result of the json source sound. It is difficult to say that the server interface is written.

What's going on?

In the development process, it is recommended that the return value be written according to the agreed Interface format, so that the frontend and backend progress is separated to avoid mutual influence.

It can be code writing, fiddler or other solutions, or the background can find a way to build an environment without logic that only outputs a fixed value, etc.

The server has enabled debugging and the HTML code of the debugging tool is displayed.Think php?

As shown in the figure, it should be a problem returned by the backend interface.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.