anitrack/bruno/AniTrack/MAL/Get Authorization.bru

25 lines
434 B
Plaintext
Raw Normal View History

2024-08-15 21:27:53 -04:00
meta {
name: Get Authorization
type: http
seq: 2
}
post {
url: https://myanimelist.net/v1/oauth2/token
body: formUrlEncoded
auth: none
}
headers {
Content-Type: application/x-www-form-urlencoded
}
body:form-urlencoded {
grant_type: authorization_code
client_id: {{MAL_CLIENT_ID}}
client_secret: {{MAL_CLIENT_SECRET}}
redirect_uri: {{MAL_CALLBACK_URI}}
code: {{MAL_CODE}}
code_verifier: {{MAL_VERIFIER}}
}