Php call interface problems

Source: Internet
Author: User
LocalhostopenUser. php... here openUser. php is equivalent to an interface, where get_user_list is an API. is that the explanation? Http: // localhost/openUser. php...

Here, openUser. php is equivalent to an interface, and get_user_list is an API. is that the explanation?

Reply content:

Http: // localhost/openUser. php...

Here, openUser. php is equivalent to an interface, and get_user_list is an API. is that the explanation?

Here, openUser can only be said to be a set of interfaces, a set of user interfaces. Get_user_list is the real interface.
Note that the Interface is the Interface, that is, the I in the API, so the Interface should be equal to the API.
In general, the set of a class of interfaces, that is, the openUser here, will express it as APIs.
However, there are no plural numbers in Chinese, or they can be collectively referred to as interfaces.

Of course, the design of this interface address and request method is alsoSimple enough.

OpenUser. php is the file name, get_user_list is a function, that is, the request processing operation, type = json data request format

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.