I have some old code that is making an AJAX POST request through jQuery's post method and looks something like this: $.post("/foo/bar", requestData, function(responseData) { //do stuff with response } requestData is just a javascript object with some basic string properties. I'm in the process of moving our stuff over to use Angular, and I want to replace this call with $http.post. I came up with