HttpSetPassword

This function sets the CURLOPT_USERNAME option value to the string specified. See also the HttpSetUsername and HttpSetLoginOptions function topics.

Usage

CALL "HttpSetPassword" USING
         password
         GIVING
         response-status.

Parameters

password An alphanumeric item specifying a password to use in authentication. Trailing spaces are removed from the value and then the value is zero terminated.
response-status A status code that, if nonzero, indicates the request encountered an error. In this case, the string representation of the error may be obtained by calling NetGetError.