Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sending an SMS via JSON HTTP GET

Zim Stu2Aug 11 2012 — edited Sep 11 2012
Hi All

I am trying to implement sending an sms using an sms gateway service provider. The one chosen has provided the following example for using their api

GET /json?action=message_send&username=demouser&password=demouser&to=27111234567&text=Hello&from=27831234567 HTTP/1.1
Host: api.panaceamobile.com
Accept: */*
Connection: keep-alive

HTTP/1.1 200 OK
Date: Thu, 30 Dec 2010 20:12:02 GMT
Server: Apache
Content-Length: 78
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

{"status":1,"message":"Sent","details":"6487a012-516e-4105-0103-123000000003"}

I have tried to use utl_http with no success and am stuck as to how to use this service from Apex. Any guidance in this regard would be greatly appreciated. Do I use web services? How do I describe the web service to Apex and receive the response?

Thanks
Stuart
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2012
Added on Aug 11 2012
5 comments
1,411 views