Request Data
Type: Class
How to get RequestData?
JavaScript
import RequestData from 'fontoxml-connector/src/RequestData.js'
Represents data contained in a request to the CMS, to be used in the CmsClient#sendRequest and CmsClient#sendRequestToUrl methods of standardCmsClient.
Make sure to create a new instance for every request.
Methods
add Header
Type: Function
Add a single HTTP header to the request.
Arguments
Returns
add Headers
Type: Function
Add HTTP headers to the request by providing a key-value mapping.
Arguments
Returns
add Multipart
Type: Function
Add multipart-encoded binary data to the HTTP POST body of the request.
Arguments
Returns
add Post Body
Type: Function
Add HTTP POST data to the body of the request.
Arguments
Returns
add Post Parameter
Type: Function
Add HTTP POST data to the body of the request.
Arguments
Returns
add Post Parameters
Type: Function
Add HTTP POST data to the body of the request.
Arguments
Returns
add Query Parameter
Type: Function
Add a single query parameter to the request.
Arguments
Returns
add Query Parameters
Type: Function
Add query parameters to the request by providing a key-value mapping.
Arguments
Returns
set Content Type
Type: Function
Set the HTTP Content-Type header value for the request.
Arguments
Returns