Hierarchy
- HttpApiRequest
Properties
Optional Readonly body
Body of the request.
Optional Readonly bodyType
Type of data stored in body
.
Helps to understand what exactly is stored in the body
property:
-
string
: a simple string (typestring
). formdata
: data of a form ( typeFormData
).bytes
: binary data (typeArrayBuffer
).
Optional Readonly fragment
Additional part of the URL path to the API method.
Optional Readonly headers
Headers.
Readonly host
Domain or IP address of the request.
Optional Readonly method
HTTP request method.
Readonly path
Relative path to the URL API method.
Optional Readonly port
Request port.
Optional Readonly query
Parameters of the URL string for a query.
Readonly scheme
Request protocol.
Advanced request parameters