title: How to send a POST request with JSON in body from python to asp.net?
body: <p>I want make a POST request from a python scrypt to asp.net api.</p>
  
  <pre><code>requests.post(apiUrl, data={'key': 'value'})
  </code></pre>
  
  <p>This is just a simple request for testing purpose </p>
  
  <p>My action from api controller</p>
  
  <pre><code>    [HttpPost]
      [Route("/api/test")]
      public  ActionResult PostAsync(object entity)
      {
          return Ok();
      }
  </code></pre>
  
  <p>again..just for test.
  To receive the request I should add the </p>
  
  <pre><code>            services.Configure&lt;ApiBehaviorOptions&gt;(options =&gt;
          {
               options.SuppressInferBindingSourcesForParameters = true;
          });
  </code></pre>
  
  <p>in Startup.cs
  With all of that, my action is hit by the entity is just an empty object.</p>