# Not getting JSON response body from POST request to https://zoom.us/oauth/token

**URL:** <https://devforum.zoom.us/t/not-getting-json-response-body-from-post-request-to-https-zoom-us-oauth-token/26226>\
**Category:** API and Webhooks\
**Created:** [August 4, 2020, 3:10pm UTC](https://devforum.zoom.us/t/not-getting-json-response-body-from-post-request-to-https-zoom-us-oauth-token/26226 "2020-08-04T15:10:10Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 7, 2020, 7:45pm UTC](https://devforum.zoom.us/t/not-getting-json-response-body-from-post-request-to-https-zoom-us-oauth-token/26226/7 "2020-08-07T19:45:06Z")

</div>

Hey @jasonb,

Make sure you are base64 encoding the `Client_id:Client_secret`.

> [@Whe POSTing to https://zoom.us/oauth/token I get an HTML response back](https://devforum.zoom.us/t/whe-posting-to-https-zoom-us-oauth-token-i-get-an-html-response-back/25649):
>
> Description I am trying to exchange a “code” for an access\_token but when i post to [https://zoom.us/oauth/token?grant\_type=authorization\_code&code=](https://zoom.us/oauth/token?grant_type=authorization_code&code=){code the query param after user clicked authorize}&redirect\_uri={redirect uri defined in development app} Instead of getting a JSON response back I get an HTML page that looks like just a page on Zoom’s website Which App Type (OAuth / Chatbot / JWT / Webhook)? OAuth Which Endpoint/s? /oauth/token How To Reproduce (If applicable) Steps to repr…

-Tommy

---

_[View the full topic](https://devforum.zoom.us/t/not-getting-json-response-body-from-post-request-to-https-zoom-us-oauth-token/26226)._
