Basic Post request with Parameters


Im trying to send a request to an api but not sure how to set out the post request:



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”: “”, “verificationUriComplete”: “”, “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?


Does How to make a Post Http request help?

No, I’m using this as a starting point but must be doing something wrong.