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
Post a Comment