I've tried to setup this connection per the tutorial. I'm not having any luck. Can someone step me through the setup with a little more detail.
I'm trying to Use React to send a SMS message through ThingHTTP. I verified that my Twilio account is working correctly. Python script sends a text message to my phone.
Thanks for any help I can get. I need to get this ready for a Hackathon on the 17th.
That's what I was testing first was the ThingHTTP. I'm using https://api.thingspeak.com/apps/thinghttp/send_request?api_key=xxxxxxxxx to test. Where I'm having problems is Content Type and Body. I'm new to web APIs.
From their doc, I see an HTTP POST example.
Content Type: (keep it blank unless you are sending an image)
Body: Use their curl example with each key/value pair separated by an & symbol.
Also, make sure that you are using HTTP auth with ThingHTTP:
Enter your AccountSid under HTTP Auth Username
Enter your Auth Token under HTTP Auth Password
More Twilio API documentation: https://www.twilio.com/docs/api/rest/sending-sms
I followed the steps and it's still failing. When I use the above URL with my api key, I get a -1 response code.
If I try https://api.twilio.com/2010-04-01/Accounts/Account Sid/Messages, it prompts me for user ID and password. I enter my Account Sid and Auth Token and the login fails.
I seem to have everything correct, as my Python script works ok.
API Key: UVQY3NDW3MF6XN1N
HTTP Auth Username: ACverified47f
HTTP Auth Password: 93verifiedf5
HTTP Version: 1.1
Body: From=+1612Twilio #&To=+1verified0&Body=Test
In the setup I copied Username & Password directly from tht Twilio screen.
From number was copied from the screen. To number is validated.
All information works in the Python sample.
I got my problem figured out.
This URL sent the text.
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee