HTML response from server

后端 未结 8 1582
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 11:21

I have an app that submits some from data to a local server and as a result the server will send back a JSON. say {status:\"success\"}

Its working when I run the ap

8条回答
  •  暖寄归人
    2021-01-13 11:31

    Just check this line:

    W/System.err( 8190): org.json.JSONException: A JSONObject text must begin with '{' at character 2 of 
    

    I am sure you have made a mistake while creating/encoding JSON object on server side.

提交回复
热议问题