webhook basic authentication

webhook basic authentication

II want to use a webhook to send out a SMS. Unfortunately Twilio does not use an authToken but basic authentication. I created the webhook as POST and get this url:

https://{username}:{password}@api.twilio.com/2010-04-01/Accounts/{account}/Messages?body=<BODY>&to=+155555555&from=+1555555555

If I paste this [your] url with the correct username/password/account into a webbrowser I get the correct answer from Twilio. If I use the webhook it fires but I get a 401 back!!!




    Nederlandse Hulpbronnen