Show TOC

Create and Implement REST Request HandlerLocate this document in the navigation structure

To create an HTTP request, you must first create a class using transaction SE24. This class represents the HTTP request handler. You must then assign the interface IF_HTTP_EXTENSION to this new class. You will then need to implement the method HANDLE_REQUEST() by double-clicking it.

To be able to access request and response data, use the interface IF_HTTP_SERVER as an argument of the method HANDLE_REQUEST(). If you want to process an incoming request in more detail, use the attributes FLOW_RC and LIFETIME_RC. These attributes are supported by the interface IF_HTTP_EXTENSION. You can use the method HANDLE_REQUEST() to fill the attributes with content.

For more information on how to develop an HTTP request handler, please see Developing an HTTP Request Handler on the SAP Help Portal.

You can refer to the delivered, default REST feature service handler class as an example, to help you with creating a new HTTP handler class.