I am trying to do an API CALL... if I am already logged in and copy and paste the URL it works... however I want to pull the xml data and parse it into a webpage and create a ligthweight ajax page that will show sensors with advanced Filtering options however I get the following error when I try FOpen() the API URL
failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized
If I copy and paste the URL with auth tokens then it displays an Unauthorized Message...
This is my URL: