200 => 'OK'
204 => 'No Content'
400=> 'Bad request'
401=> 'Unauthorized'
403=> 'Forbidden'
404=> 'Not Found'
405=> 'Method Not Allowed'
500=> 'Server Internal Error'
204 => 'No Content'
400=> 'Bad request'
401=> 'Unauthorized'
403=> 'Forbidden'
404=> 'Not Found'
405=> 'Method Not Allowed'
500=> 'Server Internal Error'
2017-10-10
难度来说还可以,API的开发可以实现前后台的代码对接,代码规范点。恩差不多就是这样,具体还是要看自己的业务逻辑,现在很多框架都有API开发,相对来说简单很多,大家不要担心
2017-10-04
Unexpected character (<) at position 0.
<br />
<b>Notice</b>: Undefined offset: 3 in <b>D:\phpStudy\WWW\api\restful\index.php</b> on line <b>144</b><br />
<br />
<b>Notice</b>: Undefined offset: 3 in <b>D:\phpStudy\WWW\api\restful\index.php</b> on line <b>144</b><br />
2017-09-29