title: How to post an object from MVC controller to Web Api controller?
body: <p>Scenario is my MVC view is returning data to Controller action and from my action requirement is to build an object and pass it to an external Web API. I m getting data in my action and building an object as well. Can you please direct me how I should pass object to external Web API. </p>
  
  <p>Also should it be JSON, object or xml ?</p>
  
  <p>I m giving my controller and Web API code below:</p>
  
  <p>Controller action:</p>
  
  <pre><code> public ActionResult Submit(FormCollection form)
          {
              Options lead = new Options();            
              lead.Situation = form.GetValue("InsuranceFor").AttemptedValue;
              lead.State = form.GetValue("InsuranceState").AttemptedValue; 
  
              //Here I want to pass object to Web API
  
  
              return RedirectToAction("Parameters");
          }
  </code></pre>
  
  <p>Web API method:</p>
  
  <pre><code>   public void Post(Lead_Options lead)
          {
              leadOptService.AddListOptions(lead);
          }
  </code></pre>