If you are developing on your PC, your web page is coming from localhost, whereas the request goes to developer.cumulocity.com. So the browser will reject the request.

To still be able to develop on your PC, you have three options. * Put your browser into development mode. You can launch Chrome with the argument "–disable-web-security".* Use the Eclipse SDK. The SDK comes with a proxy servlet that passes everything send to localhost/apis to the Cumulocity server. This is described in "Run the application" in the "Hello, world!" example.* If you don't use Eclipse or the SDK, use another proxy. There are some available. One of our developers uses a Grunt task for this.