2024-07-21 10:18:10 -04:00
|
|
|
meta {
|
|
|
|
name: GetAuthorizationToken
|
|
|
|
type: http
|
2024-07-25 09:12:38 -04:00
|
|
|
seq: 2
|
2024-07-21 10:18:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
:
|
|
|
|
}
|