I have difficulty in creating the blocks for a Twilio POST Function as suggested from their Documentation listed below:
curl -X POST https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages.json
–data-urlencode “Body=Hi there”
Should I set the webAPI Body as a string joining the Body, From and To?
Should I have Headers like :
Authorization : Bearer $TWILIO_AUTH_TOKEN
Where to place the Username and Password ?
These are the Blocks I used
I have “Network Request Failed Error” on my android device and “undefined” in my iPhone device
Same error if I used the following:
I appreciate much your help on this. Thank you in advance.