edit create heat method to $http.post
minor edit