title: How to use HttpClient to send content in body of GET request?
body: <p>Currently to send a parameterized GET request to an API interface I am writing the following code:</p>
  
  <pre><code>api/master/city/filter?cityid=1&amp;citycode='ny'
  </code></pre>
  
  <p>But I see that there is a limit on the URL length of 2,083 characters.</p>
  
  <p>To avoid this I would like to send the parameters in json format in the content body for a GET request.</p>
  
  <p>However, I see that none of the Get methods for the HttpClient allow for a content body to be sent. For the POST I could see there is a method within HttpClient named PostAsync that allows for a content body.</p>
  
  <p>Is there a way to send parameters for a GET request not in the URL in order to avoid the URL length limit?</p>