locked
WCF JSON POST Errors RRS feed

  • Question

  • Hi 

    Facts first

    1) Have hosted a Restful WCF Service on IIS 7.0 on localhost and exposed two methods one using GET and the other POST.  

    2) My client would be a HTML page that would use JQUERY/AJAX to invoke the WCF service.

    3) the Get Methods are returning JSON and the post method is posting JSON data

    4) Did everything shown in the link http://www.topwcftutorials.net/2014/02/Post-JSON-to-WCF-RESTful-Service.html

    The Get method works but the POST methods keep throwing HTTP 405 Errors. I could see the same in Fiddler

    Thanks.

    Rajaraman.S





    RAJ - DeepMinds

    Wednesday, February 12, 2014 4:37 PM

Answers

  • Hello and Welcome!

    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.

    Please note that this forum exists to discuss TechNet Wiki as a technology/application. If you have a question about another technology (such as Windows), you can ask in another forum. If you're unsure which forum, a Bing search often works the fastest or ask here: http://social.microsoft.com/Forums/en-US/whatforum/threads


    However, I'd ask in Microsoft's ASP.Net forums:

    http://forums.asp.net/

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})


    • Edited by Just Karl Wednesday, February 12, 2014 9:10 PM
    • Proposed as answer by Dave PatrickMVP Thursday, February 13, 2014 2:42 AM
    • Marked as answer by Dave PatrickMVP Saturday, February 22, 2014 11:06 PM
    Wednesday, February 12, 2014 9:09 PM