Click here to Skip to main content
15,881,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
Please help me to call rest application through http header and also need to pass request header too.

Please suggest.
Posted

This is a really good tutorial: Create and Consume RESTFul Service in .NET Framework 4.0[^]

But as I understood, you need only to consume RESTfull service. Actually there are more approaches to write one, thus consuming them migth also differ. This one is a more general and easy approach: http://rest.elkstein.org/2008/02/using-rest-in-c-sharp.html[^], but you need to code more. You can change the Method property to use DELETE or PUT (or other) http methods instead of POST.
 
Share this answer
 
Comments
Espen Harlinn 4-Sep-12 8:51am    
5'ed!
Zoltán Zörgő 4-Sep-12 9:02am    
Thank you
 
Share this answer
 
Comments
Espen Harlinn 4-Sep-12 8:51am    
5'ed!
Sandeep Mewara 4-Sep-12 11:07am    
Thank you. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900