Sending parameter via angular service to api

0

I have a service where my controller forwards a parameter and I have to send it to my API . The value arrives until the service, however a after the call, it forwards the same null. I think it's coding error.

  var response = $http({
        method: "get",
        url: "Check/GetUserByNumberOfregistration/{numberOfregistrationUser}",
        data: JSON.stringify(numberOfregistrationUser),
        dataType: "json"
    });
    return response;
}
    
asked by anonymous 06.02.2018 / 15:45

0 answers