Home > Article > Backend Development > The interaction between android and PHP backend, the feedback was successful, but the backend said it was not received??
Exactly as the title!
If the user name is repeated, it will report that it has been registered. But the background says that the data is still not received.
Exactly as the title!
If the user name is repeated, it will report that it has been registered. But the background says that the data is still not received.
Check the nginx log to see if a request has been received. Or install Fiddle to capture the interface and debug it yourself.
First of all, first use the http tool to access according to the parameters of the interface. If the problem cannot be found, then you have to set up debugging in the PHP method.
Create a new table directly, and then write an insert statement from the beginning, and save all the parameters of post or get. Then you will know whether the interface is gone. Another important thing is to look at the passed value. Is there an error? You can also write insert statements in multiple places to see where the segment is and you will know why something went wrong.
Try testing that interface alone (to determine whether the username has been used) and see if it succeeds