No 'Access-Control-Allow-Origin' header is present on the requested resource
I am attempting to make the following API call using ajax from a webpage in my local server localhost:3000.
Unfortunately I receive the following error in the browser
XMLHttpRequest cannot load http://localhost:email@example.com. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 404.
If I put http://localhost:firstname.lastname@example.org directly in a browser, I get the result I am expecting. I am able to use curl to access the same information. From the same webpage, i can successfully bind to the server on port 5280. So I am pretty sure access control / cross domain is set up properly.
Navigating to etc/bosh-extra-headers.txt I have
Access-Control-Allow-Methods: GET, POST, OPTIONS
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">