Skip to content Skip to sidebar Skip to footer

Post Api Endpoint Pending Request On Dev Tool

Trying to login using the data I've created which are in the db however when I post the user&pass back to call /api/login endpoint the network response for this endpoint is stu

Solution 1:

Can you test this for your Angular login call

$http.post('/api/login', vm.userlogin)
.then(function(success) {

    console.log("SUCCESS");
    console.log(success);

}, function(err) {

    console.log("ERROR");
    console.log(err);

})
.finally(function() {

    console.log("FINALLY");

});

Post a Comment for "Post Api Endpoint Pending Request On Dev Tool"