You need to include a body with the request. Angular removes the content-type header otherwise.
Add data: ''
to the argument to $http
.
You need to include a body with the request. Angular removes the content-type header otherwise.
Add data: ''
to the argument to $http
.