For mobile network interfaces, record some of your own experience:
1. When designing the interface, pass the mobile version number, so that the interface can be friendly to users and reduce the user churn rate before it is incompatible with the later interface upgrade.
2. It is better to join the network interface gateway, convenient to control the network interface upgrade analysis and other operations.
3. Record all data contents of the network interface request data and save it locally, and clean it regularly. This data is returned when a program crashes unexpectedly. Helps troubleshoot some issues. (It is important to avoid obtaining user privacy data here.)
4. When doing interface development on the mobile side, all data parsing is protected against programming. This prevents local data errors or app crashes when there is an error in the server data.
Experience summary of mobile development Network interface