How to consume REST in C# including PUT, POST and DELETE?

Posted by Earlz on Stack Overflow See other posts from Stack Overflow or by Earlz
Published on 2010-03-25T17:17:53Z Indexed on 2010/03/25 17:23 UTC
Read the original article Hit count: 542

Filed under:
|
|
|

Hello, I have a REST webservice that I need to consume in C#. I need support for more than just GET requests though. I need everything that is done by REST including GET, PUT, POST, and DELETE. What is the best way of interfacing with this? I do not see anything for HTTPRequest to be able to do POST or anything other than GET unless you construct your own headers(which I prefer not to)

Is there some easy and lightweight way to fully consume REST webservices in C#?

© Stack Overflow or respective owner

Related posts about c#

Related posts about rest