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”
Create the Resource Template empall/.
Click “Create Handler”
Enter the following query in the “Source” area:
SELECT * FROM emp
Click “Create Handler
Ensure the GET Resource Handler is selected,
and click the icon to copy the URL.
and click Send to test the Rest Web Service from Postman.
ليست هناك تعليقات:
إرسال تعليق