provider GET /oauth2/@me
@utdk/discord /oauth2/@me
get_my_oauth2_authorization

Try it

Authentication
Configure credentials for Discord HTTP API (Preview)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getMyOauth2Authorization
GET/oauth2/@me

This operation has no parameters.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import discord from '@utdk/discord';

await discord.getMyOauth2Authorization()