Hi,
Im trying to send a request to an api but not sure how to set out the post request:
POST
Url
https://auth.tidal.com/v1/oauth2/device_authorization
Url-Encoded POST Parameter
client_id: {client_id}
scope: r_usr+w_usr+w_sub
Example Response
{ “deviceCode”: “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx”, “userCode”: “AFIDU”, “verificationUri”: “link.tidal.com”, “verificationUriComplete”: “link.tidal.com/AFIDU”, “expiresIn”: 300, “interval”: 2 }
Looks like I need to send client id and scope in a parameter in the plugin call. Seems quite simple but I cant quite figure it out?
John