cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
313
Views
0
Helpful
1
Replies

Room OS Auth in xmlHTTPRequest

stevenmoran
Level 1
Level 1

does anyone have a method of providing auth credentials to a room kit pro  os 10.15.3 so that you don't get prompted with a username password request when trying to push a OBTP booking. I tried providing it in a request header with 'Authorization', 'Basic 64bitEnc' but no luck

xmlHttp.open('POST', url, true);
xmlHttp.setRequestHeader('Content-Type', mimeType);
xmlHttp.withCredentials = true;
xmlHttp.send(xml);

1 Reply 1

dstaudt
Cisco Employee
Cisco Employee

xmlHTTPRequest.open() seems to accept 'user' and 'password' parameters (rather than supplying an 'Authorization' header): https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open ... did you happen to try that way?
The RoomOS API does use Basic Auth, so you're on the right track.  What's the symptom/error of the problem?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: