29 lines
452 B
Plaintext
29 lines
452 B
Plaintext
|
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 {
|
||
|
:
|
||
|
}
|