This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
api request
Bozhidar Nikolov edited this page May 28, 2021
·
11 revisions
Represents the client HTTP request currently being processed. This API is used for retrieving request data from the xsk HTTP service caller.
- SAP Help
https://help.sap.com/doc/3de842783af24336b6305a3c0223a369/2.0.03/en-US/$.web.WebRequest.html
- Module
https://github.com/SAP/xsk/tree/main/modules/api/api-xsjs/src/main/resources/xsk/web
- Sample usage:
- Coverage
Members | Description | Status |
---|---|---|
body | The body of the request. | ✅ |
contentType | The content type of the entity. | ✅ |
cookies | The cookies associated with the entity. | ✅ |
entities | The sub-entities of the entity. | ❌ |
headers | The headers of the entity. | ✅ |
language | Language of the request in IETF (BCP 47) format. | ❌ |
method | The HTTP method of the incoming HTTP request. | ✅ |
parameters | The parameters of the entity. | ✅ |
path | The URL path specified in the request. | ✅ |
queryPath | The URL query path specified in the request. | ✅ |
Methods | Description | Status |
---|---|---|
setBody() | Sets the body of the entity. | ❌ |
- Issues
- Unit Tests
- Integration Tests ❌
✅ - Feature implemented and working as supposed.
❌ - Feature not implemented yet.