title: How to send json data in POST request using C#
body: <p>I want to send json data in POST request using C#.</p>
  
  <p>I have tried few ways but facing lot of issues . I need to request using request body as raw json from string and json data from json file.</p>
  
  <p>How can i send request using these two data forms.</p>
  
  <p>Ex: For authentication request body in json  --> <code>{"Username":"myusername","Password":"pass"}</code> </p>
  
  <p>For other APIs request body should retrieved from external json file.</p>