title: Do I need to escape a string which is post parameters to pass in HTTP body?
body: <p>I use HTTPUrlConnection to request a REST API.<br>
  I ser "Content-type" header as follows :</p>
  
  <pre><code>urlConnection.setRequestProperty("Content-type",
                          "application/x-www-form-urlencoded");
  </code></pre>
  
  <p>I set HTTP body as follows :</p>
  
  <pre><code>out = urlConnection.getOutputStream();
  out.write(postParameters.getBytes("UTF-8"));
  </code></pre>
  
  <p>I don't know if I need to escape post parameters(which is a String) when I set HTTP header and body as shown above.  </p>
  
  <p>I just need Yes or No as answer, but would be great if the answer explains why yes or why no.</p>