php - interface error 404
某草草
某草草 2017-05-16 12:02:54
0
6
777

I wrote an interface that requires the app to send data via post and store it in the database. However, there is no problem on the Android side. Why does iOS keep reporting an error, 404? Has anyone encountered this before?

某草草
某草草

reply all(6)
迷茫

Use fiddler to capture the packet and see which path is requested by ios. Maybe ios has written the wrong path

Compare the requests of ios and Android

Ty80

Request404It means that the address of this interface was not found. Is the interface address written wrong?

Ty80

Strictly speaking, 404 is not an interface error. It means that the connection port is not found. It is recommended that you capture the packet and take a look.

Ty80

Send a get request from ios

Ty80

Is it sporadic, or is it 404 for every ios request? If it is sporadic, it may be that the amount of data passed to the interface through post is too much. This is also a possible reason. I used node.js some time ago. I have encountered this occasional situation when working on the backend, please try it based on your own situation

巴扎黑

There is an error in the backend or the return value is incorrect

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template