title: Pocket authentication returns BadRequest with content-type 'application/json'
body: <p>I am retrieving access token for pocket api. I am able to do so successfully using a Http POST request with content type as <code>application/x-www-form-urlencoded</code>.</p>
  
  <pre><code>{ 
    host: 'getpocket.com',
    path: '/v3/oauth/authorize',
    port: 443,
    method: 'POST',
    headers:
     { 'Content-Type': 'application/x-www-form-urlencoded',
       'Content-Length': 79 } 
  }
  </code></pre>
  
  <p>But pocket also supports content type as <code>application/json</code>.</p>
  
  <pre><code>{ 
    host: 'getpocket.com',
    path: '/v3/oauth/authorize',
    port: 443,
    method: 'POST',
    headers: { 'Content-Type': 'application/json', 'Content-Length': 79 } 
  }
  </code></pre>
  
  <p>But using this type of request returns me</p>
  
  <blockquote>
    <p>'400 Bad Request'</p>
  </blockquote>
  
  <p>I am doing this on nodejs. Do i have to pass any extra details on this, like 'X-Accept'(dont know how do so).</p>