Post with application/x-www-form-urlencoded params but return in JSon
Hi!
I am consuming an API and in order to gain access to the functionality i need to autorize this.
(Pasted instructions below)
I don't know how to send these form parameters and receive a json object?!?
Any idea, hints?
AuthenticationYou will need an Access token to be able to use the Api. You have been given a clientId and ClientSecret that needs to be used to get the Access Token.
In order to generate an access token, you need to send a request to the following url with Http headers:
[COLOR=#FFFFFF !important]POST[/COLOR][COLOR=#FFFFFF !important]https://authdemo.svea.com/connect/token[/COLOR]response_type |
token |
grant_type |
client_credentials |
client_id |
{Your Client Id} |
client_secret |
{Your Client Secret} |
scope |
{Your Scope} |
Martin Arvidsson, Data Martin i Kungsbacka AB
I have six locks on my door all in a row. When I go out, I lock every other one. I figure no matter how long somebody stands there picking the locks, they are always locking three.