How to POST data to a REST Service RRS feed

  • Question

  • User-13689440 posted

    I am writing an application (windows service) which needs to POST to a REST web service to send some data. Can someone please tell me step by step process to do this?


    Wednesday, August 14, 2013 12:26 PM


  • User220959680 posted

    Still not clear, I need to post data (3 parameters - to, from, body) to a REST service (https://xyz/,,,) how do i do that without any add in's and just using HttpWebRequest(????)

    Note that To, From and Body are going to be properties in an object that should be posted to the service.

    public class Email
       public string ToAddress{get;set;}
       public string FromAddress{get;set;}
       public string Body{get;set;}

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 15, 2013 7:04 AM

All replies