angularjs - Parse Client API Key causes CORS exception in Angular app -


i have create app uses parse.com rest api. i've created factory using $resource defines required parse.com headers.

when run app parse headers x-parse-rest-api-key works expected when use x-parse-client-key application throws cors error:

cross-origin request blocked: same origin policy disallows reading remote resource @ https://api.parse.com/1/classes/games. can fixed moving resource same domain or enabling cors. 

these headers work client key on chrome's postman. i've checked config.xml ensure <access origin="*" />

i want use client key because parse documentation warns against using rest-api key on clients...

i ended using rest key instead of client key cannot change setup of parse.com service!


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -