From shaminew2010 at gmail.com Sun Jun 14 09:44:37 2015 From: shaminew2010 at gmail.com (shaminew2010 at gmail.com) Date: Sun, 14 Jun 2015 02:44:37 -0700 (PDT) Subject: How to Lose Weight 40 Fast, Easy Tips Message-ID: https://youtu.be/khqxFQgmMmk _______________________________________________ dev-apps-bugzilla mailing list dev-apps-bugzilla at lists.mozilla.org https://lists.mozilla.org/listinfo/dev-apps-bugzilla From eranotz50 at gmail.com Wed Jun 17 06:51:35 2015 From: eranotz50 at gmail.com (eranotz50 at gmail.com) Date: Tue, 16 Jun 2015 23:51:35 -0700 (PDT) Subject: Error 404 "Access-Control-Allow-Origin" Message-ID: XMLHttpRequest cannot load https://landfill.bugzilla.org/rest/login?login=userName&password=pwd. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://..' is therefore not allowed access. The response had HTTP status code 404. When i try to login from my javascript code. $http.get(https://landfill.bugzilla.org/rest/login?login=userName&password=pwd); I read somewhere that you have to supply the http header with credentials when requesting your html. i used a node module for this issue named CORS which enables you to perform cross domain requests. https://www.npmjs.com/package/cors my server : var express = require('express'); var cors = require('cors'); var path = require('path'); var app = express(); app.use(cors()); app.use(express.static(path.resolve(__dirname, 'client'))); app.listen(8080); I would appreciate any help in resolving this issue. 10x. _______________________________________________ dev-apps-bugzilla mailing list dev-apps-bugzilla at lists.mozilla.org https://lists.mozilla.org/listinfo/dev-apps-bugzilla