Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
6k views

How to use path parameters in http.put request

I want to know how to write the PUT request that sends parameters in the path. For example, dev changed the URL for the PUT request from a using a query string as parameters to using parameters in the ...
Chris22's user avatar
  • 2,043
0 votes
1 answer
254 views

How do I use angularjs to send a http PUT Request using an id

I have developed a Restful API in python that works with my database and table called groups. I have created script which allows me to GET & POST and I want to create script for PUT that will ...
Alan's user avatar
  • 23
0 votes
1 answer
185 views

How to get PDF downloaded in $resource put service angularjs1

I want to download a PDF from server depending on the input request sent from UI . I am getting a pop-up with [object objcet] written on it . Can somebody help me out in this . P.S. : I have to use $...
Anshu_06's user avatar
0 votes
0 answers
91 views

put method in angularjs gives 404 error

I want that values in the api will update and not create a new data. The HTML code on ejs page is: <div ng-app="myApp"> <div ng-controller="myCntr"> <label>Items</label&...
Anuj Kumar Pal's user avatar
0 votes
0 answers
47 views

Using $http() to send a Put request passing header and body

I want to send a request to a server and get a response : app.factory('statistics', function($http) { var getData = function(...) { // Angular $http() and then() both return promises themselves ...
Kuajia's user avatar
  • 31
0 votes
0 answers
211 views

Error 403, Response to preflight request. after PUT AngularJs

I am having trouble in using this function : $scope.modificaPassword = function () { var loginId,token,newPass,oldPass; loginId = angular.fromJson(window.localStorage['user']).loginId; ...
Alessandro Pierro's user avatar
0 votes
1 answer
35 views

Error 400 on Put request to a RestFull webService

I need to call a Web Service to get some data, but when i use this code : app.controller('Hello', function($scope, $http) { var config = { headers: { "loginName": 'opzudecche', "...
Alessandro Pierro's user avatar
0 votes
1 answer
996 views

AngularJS pushing/updating new data (likes/dislikes) to API using PUT

I am trying to create an app that counts likes for beer! This would updates the API the beers are stored on and in turn update the number of likes on the API and angularJS view using the PUT method. I ...
SpaghettiBathtub's user avatar
0 votes
1 answer
137 views

restangular put sending object to url and not the body?

hello i am new to angularjs, i have a probleme when doing a PUT $scope.submitProfile = function () { Restangular.one('user/me').put().then(function(results){ results.username = "toto"; ...
helpcaller's user avatar
2 votes
1 answer
83 views

Form does not update on view and server in AngularJS?

I have this bug in my web app. So, I have a form where when I edit the form it does not update on view and server. What I want to solve is when I edit my form, I want to update the view and the server....
user avatar
0 votes
2 answers
61 views

Confirm user from a remote api url in AngularJS?

so, I have this bug in my code, that I can't quite figure it out. So, my app needs to do is to click on the confirm button to remove that user from its list within the remote api url. So, when I click ...
user avatar
0 votes
0 answers
47 views

Remove a user from the list with PUT? In AngularJS

I am creating a web app. Where, I have a backend api that I am using the GET method to receive my users, and on one page I have the users information, where I have a confirm button. What I want to do ...
user avatar
0 votes
1 answer
59 views

How to confirm a specific user in AngularJS?

So, I new in Angularjs and all this GET, PUT, Requests. However, I am creating an app where I have list of users in one page, and second page I have a form with three buttons. Which, I am focusing on ...
Jośe's user avatar
  • 125
0 votes
1 answer
464 views

Getting 404 trying http PUT using Node Express Postgresql

Edit: NEVERMIND - I made a small mistake in the Angular service. My bad. I'm trying to teach myself more backend by building a simple CMS using angular, Node and Express, and PostgreSql. I figured ...
user avatar
0 votes
0 answers
2k views

post with angular gives error: possibly unhandled rejection

I've just managed to get my $http post working over Angular.where the admin only can make edit for data such gives permission to user to be admin or block user and update the user's description. I ...
Ala Java's user avatar

15 30 50 per page
1
2 3 4 5