none
POST JSON on WCF service RRS feed

  • Question

  • Hi

    i am trying to post JSON on wcf service but i am getting 400 Bad request.

    can any body suggest what i need to check .

    Regards,

    Mohit

    Friday, January 30, 2015 12:36 PM

Answers

  • Hi Mohit Kumar Gupta,

    It will be better if you can post a simple reproduce project in here.

    When getting the 400 Bad request error, first you should try to make sure that the WCF Service is working. You can do a simple test to create a GET method to see if you can get the right result by using the browser. Besides, you can also try to use the Fiddler to get the detailed information about the request and response data. After that you can find which step is wrong.

    #Fiddler:
    http://www.telerik.com/download/fiddler .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Monday, February 2, 2015 5:29 AM
    Moderator