HttpOptionsToFile - cHttpClient¶
Include: Use System\Http.pkg
Sends an OPTIONS request and writes the response body to a file.
Type: Function
Return data type: HttpStatus, which is an alias for UShort
Parameters¶
| Parameter | Type | Description |
|---|---|---|
sPath |
String | Relative path or absolute URL. |
sFile |
String | File path to create or truncate for the response body. |
Syntax¶
Function HttpOptionsToFile String sPath String sFile Returns HttpStatus
Call¶
Get HttpOptionsToFile of hoObj "/resource" "response.body" to eStatus
Description¶
Sends OPTIONS and writes the response body to sFile.