B4J Question Entering Curl Command as HTTP in B4x

AKJammer

Active Member
Licensed User
Hey All,

I'm in the same boat as Colin Evans was in question https://www.b4x.com/android/forum/threads/how-to-enter-a-curl-command-as-an-https-request.116932/, but my curl is structured differently. Is there some tutorial where we can find the breakdowns of the different flags in a curl to be able to create the command in B4X? I'm trying to integrate the Vonage SMS messenger service (formerly Nexmo) into my B4J application for user notifications. The curl example they give is:

B4X:
curl -X "POST" "https://rest.nexmo.com/sms/json" \
     -d "from=15558889999" \
     -d "text=Hello from Vonage SMS API" \
     -d "to=15552279966" \
     -d "api_key=9******8" \
     -d "api_secret=N************g"

Any help would be appreciated.
Thanks,
Jim
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…