Note: The URL must allow cross-origin requests (CORS) for this to work.