Closed superdtx closed 7 years ago
$.ajax('/api/bugs').done(function(data) { in App.js is using GET method
$.ajax('/api/bugs').done(function(data) {
app.get('/api/bugs/', function(req, res) { in webapp.js is using POST method to respond to client
app.get('/api/bugs/', function(req, res) {
I think there is mismatch here.
$.ajax('/api/bugs').done(function(data) {
in App.js is using GET methodapp.get('/api/bugs/', function(req, res) {
in webapp.js is using POST method to respond to clientI think there is mismatch here.