Accessing API with $http POST Content-Type application/x-www-form-urlencoded
问题 I am trying to access this REST API, which accepts three parameters: stationId , crusherId , monthYear I am doing it like this in AngularJS as: $http({ //headers: {'Content-Type':'application/x-www-form-urlencoded; charset=UTF-8'}, //headers: {'Content-Type': 'application/json; charset=UTF-8'}, headers: { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Accept': 'application/json' }, url: 'https://myurl../api/getHPData', method: 'POST', data: { stationId: 263, crusherId: