title: Difference between query and body in httr::POST
body: <p>I want to pass few post parameters in url, say two parameters p1 and p2. Values of p1 and p2 are xyz(string) and 1(numeric). What is difference between following commands:</p>
  
  <pre><code>POST(url, body=list(p1="xyz",p2=1))
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>POST(url, query=list(p1="xyz",p2=1))
  </code></pre>
  
  <p>I also cannot understand whether I should use quote for parameters p1 and p2 or not. If yes, then which, single or double.</p>