anitrack/bruno/AniTrack/Simkl/SimklGetAuthorizationToken.bru

38 lines
756 B
Plaintext
Raw Permalink Normal View History

2024-07-30 12:57:08 -04:00
meta {
name: SimklGetAuthorizationToken
type: http
seq: 2
}
post {
url: https://api.simkl.com/oauth/token
body: json
auth: none
}
headers {
Content-Type: application/json
}
body:json {
{
"grant_type": "authorization_code",
"client_id": "{{SIMKL_CLIENT_ID}}",
"client_secret": "{{SIMKL_CLIENT_SECRET}}",
"redirect_uri": "http://localhost:6734/callback",
"code": "c2b956d5086c5515ff518bfb2857d7f55453f5f8a8e245f6a37c2e3838fe1a7a"
}
}
body:form-urlencoded {
grant_type: authorization_code
client_id: {{SIMKL_CLIENT_ID}}
client_secret: {{SIMKL_CLIENT_SECRET}}
redirect_uri: http://localhost:6734/callback
code: c2b956d5086c5515ff518bfb2857d7f55453f5f8a8e245f6a37c2e3838fe1a7a
}
body:multipart-form {
:
}