cross domain - How would RESTful API for Parse work for HTML application? -


parse backend-as-service platform offers restful api data storage , query. seems appealing front-end or mobile developer , allows them focus on business logic without worry troublesome back-end technologies.

the restful endpoint looks this:

https://api.parse.com/1/classes/gamescore 

if want use on site, awesomehtmlsite.com, wouldn't request blocked cross domain restrictions? same hold true javascript api.

can explain me how can utilize restful api or javascript api?

responses calls parse javascript api include following header:

access-control-allow-origin:*

this allows used cross-domain. should able follow javascript guide/api parse provides, without worrying cross-domain issues.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -