Switch to Cross-Origin Resource Sharing (CORS)