I am new to Apex and we are currently using Apex 5.1. I have the need to call an external ReST-based web service residing inside our firewall using http (not https). It's a simple GET request which either returns HttpStatus.OK (for success) or HttpStatus.INTERNAL_SERVER_ERROR (for failure). An example of the GET request is as follows:
What are the ways to invoke (consume) this external ReST-based web service from APEX 5.1?
Yes. Refer the article about RESTful Web Services in Oracle APEX 5.1 by Carsten (referred above by Franck): https://blogs.oracle.com/apex/rest-services-and-application-express-51-part-1
You can consume RESTful Web Services in Oracle APEX 5.1 in two ways:
- Creating a RESTful Web Service Reference and then creating a input form or report on the reference or creating a process on the reference.
- Using APEX_WEB_SERVICE API