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