title: Sentry - unable to request token oauth http error 405
body: <p>I created an Sentry application under <code>Settings &gt; Account &gt; API &gt; Applications</code>.
  My web server is running receives the callback requests with the <code>code</code> param.
  But whenever I send a token request like below I receive HTTP <code>405</code> error.</p>
  <pre><code>    fetch(&quot;https://sentry.io/oauth/token&quot;, {
        method: &quot;post&quot;,
        headers: { &quot;Content-Type&quot;: &quot;application/json&quot; },
        body: JSON.stringify({
          client_id: sentry_client_id,
          client_secret: sentry_secret,
          grant_type: &quot;authorization_code&quot;,
          redirect_uri: &quot;http://localhost:8000/app/dashboard.html&quot;,
          code: code,
        }),
      })
  </code></pre>
  <p>Thanks in advance</p>