restReqBodySetString (Function) |
Top Previous Next |
This function will set the body content of a request to the provided string. When the body needs to contain mostly fixed data, one option is to use strTemplateCreate to add the dynamic data to a fixed template string, which can then be used as the body, without needing to manually create the entire string.
Input: req : SYSHANDLE A handle to the request.
str : STRING The string to use for the request body.
Returns: INT
Declaration: FUNCTION restReqBodySetString: INT;
Example: Please see the "Examples - REST Basic Authentication Example"
|