Now token and secret are called as AuthCredentials. AuthCredentials is passed as request header field: Authorization: Bearer your_auth_credentials. Change query authentication to bearer authentication in the header.
Example
curl -X GET https://v2.convertapi.com/user -H 'Authorization: Bearer your_auth_credentials'
Replace secret and token authentication methods to one named it as AuthCredentials or pass it as a constructor argument.
Now
token
andsecret
are called asAuthCredentials
.AuthCredentials
is passed as request header field:Authorization: Bearer your_auth_credentials
. Changequery
authentication tobearer
authentication in the header.Example
curl -X GET https://v2.convertapi.com/user -H 'Authorization: Bearer your_auth_credentials'
Replace secret and token authentication methods to one named it as
AuthCredentials
or pass it as a constructor argument.