FortiGate API
Authenticate with user/pass vs access_token.
I have succeeded to authenticate with a user/pass against the Rest API where i put the username/secretkey as the payload in the body with a POST method.
Have also succeeded to authenticate with the access_token with a GET method by appending the access_token in the URL (with ?access_token=<token>).
I would like to authenticate with the access_token, but put it in the payload as a POST-method. Because when authenticating with the access_token in the url it will not be encrypted over the https tls channel.
So, my question is.. how do i authenticate like the above username/secretkey but with the generated access_token (Rest API key) instead?
I have tried to replace the password with the access_token, but do not work.
Thanks in advanced
