Android的JSON后应答QUOT;状态code 500 QUOT;和状态行"内部服务器错误" [英] android JSON post response "status code 500" and status line "Internal Server Error"

查看:127
本文介绍了Android的JSON后应答QUOT;状态code 500 QUOT;和状态行"内部服务器错误"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是接收500内部服务器错误作为国家code和JSON响应后的状态行可能的原因(可能性)。 code在其他项目的工作完美。并且URL是完全工作在I OS。

what are the possible reasons (possibilities) of receiving 500 and Internal Server Error as the state code and the status line of the json post response. code is perfectly working in the other project. and the url is perfectly working for the I OS.

感谢您。

推荐答案

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.

<一个href=\"http://stackoverflow.com/questions/4470936/how-to-do-a-http-post-in-android/4472300#4472300\">the正确的方法,使在android系统一个HTTP POST

the correct way to make a HTTP POST in android

这篇关于Android的JSON后应答QUOT;状态code 500 QUOT;和状态行&QUOT;内部服务器错误&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆