Android Question Internal Server Error with HttpJob PostString

carycai

Member
Licensed User
Longtime User
I use HttpUtils2 lib(version: 2.01) to poststring to my web service,but return "Internal Server Error".
I put the service url to the phone web browser and it can work.
See the attach test file.
Your help will appreciate.

ps: my server is in computer with IP:168.192.10.254, and my phone link to server via a wifi route whick link to computer,wifi route DHCP is 192.168.3.*,so my phone ip is 192.168.3.*.
 

Attachments

  • test.zip
    6.2 KB · Views: 260

DonManfred

Expert
Licensed User
Longtime User
Your server must be able to process a POSTSTRING.... If it is not properly configured to handle such a poststring then it will raise an internal error...

i guess the problem has to be found in wcfsrv/myWebService.asmx

Probably you want to use job.download (get) or job.postmultipart (post)
 
Last edited:
Upvote 0

carycai

Member
Licensed User
Longtime User
Your server must be able to process a POSTSTRING.... If it is not properly configured to handle such a poststring then it will raise an internal error...

i guess the problem has to be found in wcfsrv/myWebService.asmx

Probably you want to use job.download (get) or job.postmultipart (post)
You are right, thanks.
 
Upvote 0
Top