HttpURLConnection on Android gives Error?

Localhost is accessible as you are able to do the post call The error code 500 indicates that your sever is not able to handle the request, due to any reason. Main be some exception or URL is not mapped Incase of exception read the ErrorStream method instead of Inputstream to know about the error Example connection.getErrorStream().

Localhost is accessible as you are able to do the post call. The error code 500 indicates that your sever is not able to handle the request, due to any reason. Main be some exception or URL is not mapped.

Incase of exception read the ErrorStream method instead of Inputstream to know about the error Example connection.getErrorStream().

By seeing your code I think You are trying to read data from your localHost If want connection to your localhost you have to specify IP Address of your computer for example URL url = new URL("IPAddressOfComputer/Sfacgi/accounts/look...).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions