Search
Plugins > HTTP-REST 2.2.2 > RESTRequest > executeWithCredentials

Method executeWithCredentials(String user, String pass)

Runs the HTTP request with provided Basic HTTP Authentication credentials. This operation is supported only for requests executed against RESTHost that supports Basic HTTP Authentication.

Returns

RESTResponse

Arguments

Name Type Description
user String The username to use when executing the request.
pass String The password to use when executing the request.