title: Why we need to use setheaderrequest in ajax call
body: <p>httr.setRequestHeader(&quot;Content-Type&quot;,&quot;application/x-www-form-urlencoded; charset=UTF-8&quot;);</p>
  <p>I have been using this code in my ajax call , I just need to know why we are using it and what is the meaning for &quot;Content-Type&quot;,&quot;application/x-www-form-urlencoded; charset=UTF-8&quot;</p>