Starts the REST service at a specified URL that requires authentication. This method supports only Basic HTTP authentication. You can use this method with the following signatures:
ca_pam_getRESTDataAuth (url, userName, password, callBack)
ca_pam_getRESTDataAuth (url, userName, password, doNotValidateCert, callBack)
Defines the URL of the HTTP request. The URL starts with http:// or https://.
Defines the user name for which to authenticate the specified URL.
Defines the password associated with the specified user name.
Specifies whether a valid SSL certificate is found. This field is relevant when querying an HTTPS URL.
Defines a list of key/value pairs that sets headers in the request.
Defines a reference to the function object to call after retrieving the data, including its onSuccess and onFailure methods.
When the function retrieves the data, either the onSuccess(result) or onFailure(caught) callBack function runs. The function itself does not return any value.
|
Copyright © 2013 CA.
All rights reserved.
|
|