How to use cURL with ESP32?
Posted: Tue Mar 30, 2021 9:05 pm
Hi!
Is there any way to use cURL with the ESP32? I'm making a project where I want to use the Nexmo SMS service to send out messages. They offer many ways to do it, like .net, Node, Java, PHP, and cURL. There I think cURL is the best option for ESP32. Their cURL setup looks something like this:
Hope someone can send me an example code on how to do this, I'm using Arduino IDE for coding.
Thanks a lot!
-HansDia
Is there any way to use cURL with the ESP32? I'm making a project where I want to use the Nexmo SMS service to send out messages. They offer many ways to do it, like .net, Node, Java, PHP, and cURL. There I think cURL is the best option for ESP32. Their cURL setup looks something like this:
Code: Select all
curl -X "POST" "https://rest.nexmo.com/sms/json" \
-d "from=Vonage APIs" \
-d "text=A text message sent using the Vonage SMS API" \
-d "to=474****350" \
-d "api_key=4****ccb" \
-d "api_secret=bc****ff"
Thanks a lot!
-HansDia