igemuottawa / igem-bricklayer

Layin ma bricks
0 stars 2 forks source link

Permission Problems #6

Closed pdoan017 closed 11 years ago

pdoan017 commented 11 years ago

Is there something I have to do to get permission to grab the xml files for the parts?

krutkay commented 11 years ago

They should be free for anybody to grab.

If you post your code we'll (or I'll) help you debug it.

mef51 commented 11 years ago

You cannot make AJAX requests (or any kind of scripted http request) from the browser to websites on another domain. It's a security risk so servers don't let you: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing

You can however make requests from the server (instead of from a browser), like we do in the file brickSearchService.coffee