Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Performs HTTP request using the POST method.
This method allows to provide the raw data using the _postData parameter.
Note that the data will be encoded with the UTF-8 encoding.
Optionally, a custom HTTP header can be set through the _header parameter.
The default content type can be overriden using the optional _contentType parameter.
Syntax
public RetailWebResponse makePostRequest(
str _requestUrl,
str _postData,
[str _header,
str _contentType])
Run On
Called
Parameters
- _requestUrl
Type: str
The URL of the end-point to issue the request to
- _postData
Type: str
The raw data. Note that the data will be encoded with the UTF-8 encoding.
- _header
Type: str
The optional HTTP header to include into the request.
- _contentType
Type: str
The optional parameter. If supplued, will override the default content type
Return Value
Type: RetailWebResponse Class
Returns instance of the RetailWebResponse class with results of the HTTP request, such as HTTP status code and raw response data.