Retrieving Data Using a Parameter
Perform the following steps to create a RESTful Service which retrieves the employee information based on a parameter id using the HTTP Method GET.
In the EMP_TEST module, create a new Template emp/:empid following the steps shown in the previous section.
Add the Source code for the GET Handler.
adding a valid employee number to the end of the URL for your schema.
7839 is the empno for “King”.
http://localhost:8080/ords/re/EMP_TEST/emp/7839
ليست هناك تعليقات:
إرسال تعليق