title: sharepoint rest api max query length
body: <p>We are trying to post a really long query string, that exceeds 2048 characters to sharepoint rest api.I am making a post to the below api</p>
  
  <p><a href="http://sitename/_api/web/sitegroups" rel="nofollow">http://sitename/_api/web/sitegroups</a>?$select=LoginName,Id,Title&amp;$Filter=LoginName%20eq%20'Test_Grp'</p>
  
  <p>We modified the config file of our sharepoint site to the below,</p>
  
  <pre><code>    &lt;system.web&gt;
    &lt;httpRuntime maxQueryStringLength="65536"/&gt;
  
   &lt;system.webServer&gt;
    &lt;security&gt;
     &lt;requestFiltering&gt;
       &lt;requestLimits maxQueryString="65536" /&gt;
  </code></pre>
  
  <p>But still sharepoint throws a 400 error stating that the maxquery length is exceeded. Do I have to change the configurations in some other place?</p>
  
  <p>Is it possible to send the query string as part of the http post body so that the query string length could be let alone ?</p>