VBA-I do it myself thinkphp this API, return the results, how to be different from others?

Source: Internet
Author: User

I learned to use VBA to connect to PHP's API, which is what my php function says:

    public function vba()    {        echo 170982358;    }

Using the thinkphp to change the routing rules, the function is made into a page.

But when called with VBA, this is the case:

Although also returned the result 170982358, but the mess;

But the other people's API returned is neat, how should I do?

Reply content:

I learned to use VBA to connect to PHP's API, which is what my php function says:

    public function vba()    {        echo 170982358;    }

Using the thinkphp to change the routing rules, the function is made into a page.

But when called with VBA, this is the case:

Although also returned the result 170982358, but the mess;

But the other people's API returned is neat, how should I do?

You should use thinkphp, and turn on trace mode, which results in the output of debug content. SHOW_PAGE_TRACEYou can change the configuration item to false

  • 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.