You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to authenticate with an API key and secret and at the same time use a custom underlying HTTP client. I have read the instructions on how to authenticate with API Keys here, and the instructions on how to use a custom HTTP client here. However, I can't seem to make these two work together.
Thank you for your response. I have managed to authenticate and send a message using the account SID and auth token. However, I do not understand how to use API keys to perform the authentication.
Issue Summary
I'm trying to authenticate with an API key and secret and at the same time use a custom underlying HTTP client. I have read the instructions on how to authenticate with API Keys here, and the instructions on how to use a custom HTTP client here. However, I can't seem to make these two work together.
Below is what I've tried:
Code Snippet
I'm then using the
RestClient
like this:I've tried omitting the Account SID as well as swapping the API Key and the Account SID.
Exception/Log
Technical details:
The text was updated successfully, but these errors were encountered: