How to make http authentication in REST API call from javascript
I have a question that involves using OpenMRS. I have linked the page in my question. My question is how do you remotely connect to the database that is embedded in the system that comes with the standalone download that you can get with OpenMRS. We are trying to access the system outside the web based interface that retrieves the information using the REST API associated with this system. In the link above they are using base64 coded password and username inside setRequestHeader. What is the purpose of putting it in that code format? And is it exactly : then encoded base64 to get the letter number combination?