I am calling a service using angular as follows:
return $http.get('api/properties', { params: { id: id } });
In this case the resulting url is:
api/properties?id=2
So I am getting an error because I would need:
api/properties/2
What would be the correct way have this url?