الخميس، 9 ديسمبر 2021

Creating the first Restful Web Service [ will retrieve all records in the emp table ]

 Creating the first Restful Web Service

The first Restful Web service will retrieve all records in the emp table.

Click Create Module button.



Provide the Module Name oa_test, and the Base Path /EMP_TEST/.

Change Paginationsize to 25.




Click “Create Module”

Click “Create Template”.

Create the Resource Template empall/.

Create the Resource Handler.
Click “Create Handler”


Create the Resource Handler.
Enter the following query in the “Source” area:
SELECT * FROM emp
Click “Create Handler

Copy the module URL.
Ensure the GET Resource Handler is selected,
and click the icon to copy the URL.

Test the Rest Web Service from the web browser.

Select GET, paste the URL,
and click Send to test the Rest Web Service from Postman.



ليست هناك تعليقات:

إرسال تعليق

How to Solve Ords Issue : The request could not be mapped to any database.

 The request could not be mapped to any database.  Check the request URL is correct, and that URL to database mappings have been correctly c...