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!

apex_web_service.make_rest_request is not working.

himansu_bDec 8 2022

Hi

I have an sms api which i am calling using apex_web_service.make_rest_request in my apex application. My database is in OCI Autonomous Database.
But I am getting below error.
ORA-20987: The requested URL has been prohibited. Contact your administrator.
Here is my code.

declare
l_clob clob;
begin
l_clob:= apex_web_service.make_rest_request(
p_url => 'http://bulkpush.mytoday.com/BulkSms/SingleMsgApi?feedid=381221&username=9822676654&password=123&To=919768119800&Text=This is a test sms. Please click on below link:https://google.com&templateid=1207166995941567364&entityid=1201159962719151957&senderid=BSTUN',
p_http_method => 'GET');
htp.p(l_clob);
end;

Please guide me to resolve this in a priority basis.
Regards
Himansu
http_request.PNG

Comments
Post Details
Added on Dec 8 2022
3 comments
690 views