Hi,
I want to connect to smappee via api but I need to first create an access token via an http post request
This is the info they gave
Use your application’s credentials and the user’s credentials to retrieve an access token by sending a HTTP POST message to https://app1pub.smappee.net/dev/v1/oauth2/token
POST /dev/v3/oauth2/token HTTP/1.1
Host: app1pub.smappee.net
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
grant_type=password&
client_id=[YOUR_APP_ID]&
client_secret=[YOUR_CLIENT_SECRET]&
username=[USER_NAME]&
password=[USER_PASSWORD]
How should i make this with a node red http request node ?
Who can help me ?