Originally posted by donovae on 2013-04-18 19:37:49
Hello,No means to make in use simple javascript "Hello world" as given in http://www.cumulocity.com/guides/developers-guide/developing-web-clients.
I faced problem of authorization:
Request URL: https://developer.cumulocity.com/user/currentUser">https://developer.cumulocity.com/user/currentUser
Request Method: OPTIONS
Status Code: HTTP/1.1 401 Unauthorized
Any suggestions ?
Thanks.
Regards.
Hervé
Notes:
- * It works with
curl -v -H "Authorization: Basic ZGVtby9yZWFkZXI6cmVhZGVy" -H "X-Cumulocity-Application-Key: uL27no8nhvLlYmW1JIK1CA==" https://developer.cumulocity.com/platform -k
* Cumulocity.com.crt have been installed.
* URL
var rooturl = "https://developer.cumulocity.com";
var APP_KEY = "uL27no8nhvLlYmW1JIK1CA==";
* Credentials: demo,,
Comments