Question: True or false? The OAuth endpoint expects the form/urlencoded format instead of JSON.
- True
- False
Explanation
The statement is true because the token request body is sent as application/x-www-form-urlencoded, not as a JSON payload. In Amazon Ads authorization workflows, Login with Amazon handles OAuth-based token exchange for API access. The token endpoint expects request parameters such as grant type, authorization code, client ID, and client secret in form-encoded format. A successful token response can return JSON, but that does not mean the request body should be JSON. Using the wrong request format can cause the authorization request to fail.
Why the other options are incorrect
False This is incorrect because the OAuth token request uses form-encoded parameters rather than a JSON request body.
Source for verification
https://developer.amazon.com/docs/login-with-amazon/authorization-code-grant.html
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "Integrating With HubSpot I: Foundations" page.
