title: Security vulnerabilities involved with Base64 encoded url
body: <p>I have an API when trying to access it through a web application, I am making ajax <code>get</code> and <code>post</code> requests.</p>
  
  <p>As I am new to this, I am wondering what the security concerns are with respect to the content type.</p>
  
  <p>Right now I know of two content types I can POST the data as:</p>
  
  <ul>
  <li><p>Base64enoded URL.</p></li>
  <li><p>JSON</p></li>
  </ul>
  
  <p>If I am passing the data as encoded URL, the data will appear in the query string.</p>
  
  <p>Even if Base64encoded wouldn't it be a bad way of passing sensitive information?</p>
  
  <p>I read several articles and most of them said JSON or URL encoded wouldn't matter much in terms of security.</p>
  
  <p>What are the security breaches that I must be concerned with when looking at the content type used to pass data between the application and the API?</p>