I'm trying to send multiple parameters to the backend in an http.get call. Issue is I don't see them in express:
Angular:
$http.get("/getImage/", {params: {"filename" : $scope.recipe.image.filename, "mimetype" : $scope.recipe.image.mimetype}})
.then(function(retuData){
console.log(retuData);
})
Express:
server.get("/getImage/", function (req, res) {
console.log(req.params.filename);
})
req.params.filename shows up as undefined when logged. All help is appreciated. Thank you!
