Twilio POST request returns 401 -
i'm getting 401 when trying post request twilio rest api. i've included following header:
authorization: basic <base64 encoded '<accountsid>:<authtoken>' string>
and i've tried basic authorization without encoding string result same.
edit: response body:
not authorized - signed requests twilio allowed. more info error at: https://www.twilio.com/help/faq/twilio-basics/why-does-my-twiml-bin-url-give-me-a-not-authorized-error-when-i-try-to-view-it
how sign request? docs aren't clear it.
Comments
Post a Comment