Skip to content

Instantly share code, notes, and snippets.

@charandas
Created September 2, 2015 20:43
Show Gist options
  • Select an option

  • Save charandas/f148c9cca1ec9412e8b7 to your computer and use it in GitHub Desktop.

Select an option

Save charandas/f148c9cca1ec9412e8b7 to your computer and use it in GitHub Desktop.
keen-js superagent CORS error
Refused to set unsafe header "accept-encoding"Request.end @
Refused to set unsafe header "user-agent"
Refused to set unsafe header "content-length"
XMLHttpRequest cannot load https://api.keen.io/3.0/projects/<project-id>/queries/count. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:5001' is therefore not allowed access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment