Added Test to Get Authorization Token from Anilist to Bruno

This commit is contained in:
John O'Keefe 2024-07-21 10:18:10 -04:00
parent daa9c3c40a
commit 3d5c2d77cc

View File

@ -0,0 +1,28 @@
meta {
name: GetAuthorizationToken
type: http
seq: 4
}
post {
url: https://anilist.co/api/v2/oauth/token
body: formUrlEncoded
auth: none
}
headers {
Accept: application/json
Content-Type: application/json
}
body:form-urlencoded {
grant_type: authorization_code
client_id: {{ANILIST_APP_ID}}
client_secret: {{ANILIST_SECRET_TOKEN}}
redirect_uri: http://localhost:6734/callback
code: {{code}}
}
body:multipart-form {
:
}