Oauth Preflight
/oauth/token
const url = 'https://api.mengi.cloud/oauth/token';const options = {method: 'OPTIONS'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request OPTIONS \ --url https://api.mengi.cloud/oauth/tokenResponses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
example