Kategori Arşivleri: AngularJS

angular web service de değer gönderme

angular web service   AngularJS – Any way for $http.post to send request parameters instead of JSON? $http.defaults.headers.post[“Content-Type”] = “application/x-www-form-urlencoded”; $http.post(loginUrl, “userName=” + encodeURIComponent(email) + “&password=” + encodeURIComponent(password) + “&grant_type=password” ).success(function (data) {