Example:
var auth = HttpAuthentication.createNTLMAuthentication("username", "password", "workstation", "domainname"); var response = services.rest.get(.., .., .., auth); // alternative var auth2 = HttpAuthentication.createNTLMAuthentication("domainname\\username", "password", null, null);
returns NTLMAuthentication
Example: