PHP calling interface problem

WBOY
Release: 2016-10-22 00:14:23
Original
821 people have browsed it

http://localhost/openUser.php...

OpenUser.php here is equivalent to an interface, where get_user_list is an API. Is this explained?

Reply content:

http://localhost/openUser.php...

OpenUser.php here is equivalent to an interface, where get_user_list is an API. Is this explained?

OpenUser here can only be said to be a set of interfaces, a set of user interfaces. And get_user_list is the real interface.
Note that interface is Interface, which is the I in API, so interface should be synonymous with API.
The commonly referred to as a collection of interfaces, which is openUser here, will be represented as APIs.
However, there is no plural in Chinese, so it can also be collectively called interfaces.

Of course, the design of this interface address and request method is also very simple.

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!