Posting a JSONArray to WCF Service from android

后端 未结 1 1822
礼貌的吻别
礼貌的吻别 2021-01-13 02:50

I am having trouble posting a JSONArray of values to my WCF Service. When I post the data from Fiddler or .Net Test Client it works fine. Every time I try to post from my an

相关标签:
1条回答
  • 2021-01-13 03:10

    remove

    httpPost.setHeader("Accept", "application/json");                 
    httpPost.setHeader("Content-Type", "application/json; charset=utf-8"); 
    

    from ur code

    0 讨论(0)
提交回复
热议问题