Restfull API Basics
Restfull API Basics
9. After saving the class we can see interfaces are imported into the interface TAB and interface
Methods into Methods TAB.
11. This method will handle incoming request at different resource paths you can define.
12. Before we add a new path lets create a REST Resource Class first ZCL_REST_RESOURCE_SALES .
13. Create a ZCL_REST_RESOURCE_SALES class by inheriting from the CL_REST_RESOURCE.
( Provide Super class in the below )
14. After saving the class we can see interfaces are imported into the interface TAB and interface
Methods into Methods TAB.
15. This class will handle incoming request. Let’s Redefine IF_REST_RESOURCE~GET handler method
and say hello.
Testing using Postman
Testing From Post Man Launce App