Hello community,
I have an Apex Oracle application and I'm trying to integrate a third party module. I need to perform some cURL requests provided by the supplied.
For rest requests, I usually invoke the web server using the method :
apex_web_service.make_rest_request(p_url => URL, p_http_method => Method);
But I don't know how to do that for cURL ? Does it have to be translated to HTTP request ? Is there any specific way to perform cURL requests in Apex oracle ?
Thanks in advance.
Here is the request code :
curl -X POST https://xxx/v1/ \
-H "Authorization: Bearer azeoiuqsd" \
-d "redirectUrl=https://webshop.example.org/order/12345/" \
-d "webhookUrl=https://webshop.example.org/payments/webhook/" # optional