且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android的JSON后应答QUOT;状态code 500 QUOT;和状态行"内部服务器错误"

更新时间:2021-09-15 19:35:44

500内部服务器错误

一个一般错误消息,因为时遇到了意外情况,没有更具体的消息是合适的。

A generic error message, given when an unexpected condition was encountered and no more specific message is suitable

如果HTTP POST方法或类是正确的,它没有错从客户端(Android应用程序)。从服务器端发生的问题。应用程序状态code和JSON响应后的状态行收到500到修复了服务器端。
注意:不改正这个错误可以完美工作相同的网址IOS。

if the HTTP POST method or the class is correct, its nothing wrong from the client side (Android application). The problem occurred from the server side. the application state code and the status line of the json post response receives 500 till fix the bug in the server side. Note : without fixing this bug can be worked perfectly the same URL for IOS.

the正确的方法,使在android系统一个HTTP POST

the correct way to make a HTTP POST in android