Passing HTTP Basic Authorization Code to REST API
I am having trouble authenticating with my CRM's REST API. Ultimately I want to pass a new registered user from my Wed Assist store to the CRM. I dumbed-down the code to see what the problem is. In the attached paged, I want to do a GET to return the contacts in my CRM. It looks like the error I am getting is that I am not passing the authorization through properly in the header. The API wants me to use HTTP Basic Authorization. The URL I am testing with is http://1to1microsites.com/simple.php I am attaching that php page, the js page and a txt with a properly formatted credential in Base64. Can you help me with this please?