Home >Backend Development >PHP Tutorial >php app登录接口怎么写,有没有实例,大神们

php app登录接口怎么写,有没有实例,大神们

WBOY
WBOYOriginal
2016-06-23 13:28:111166browse

php app登录接口怎么写,有没有实例,大神们,做app做到登录这块儿,网站是php语言写的,app发送登录请求,服务器php该怎么写


回复讨论(解决方案)

整个流程就是 app 通过url post或者get数据 然后服务器端给出相应的回复 一般返回json格式
可以用fiddle或者postman等 进行调试

楼上说的正确。一般走http就行,返回json
补充下,数据交互记得加上验证程序。保证入库的数据都是有效。

Statement:
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