Questions tagged [http-put]

HTTP PUT Uploads a representation of the specified resource.

HTTP PUT Uploads a representation of the specified resource.

277 questions
-1
votes
2 answers

Does HTTP Status Code 500 means that the rest error code are not occuring

I am trying to update an object via REST API with an HTTP PUT request. I was getting different errors like 400 but now after amending my code and headers I am getting 500 which means that Internal Error 500 : The server encountered an unexpected …
Moon
  • 19,518
  • 56
  • 138
  • 200
-1
votes
1 answer

httpput authentication is not working

I am using below code to authenticate on server. DefaultHttpClient Client = new DefaultHttpClient(); Client.getCredentialsProvider().setCredentials(AuthScope.ANY, new UsernamePasswordCredentials("username", "password")); HttpGet get = new…
NovusMobile
  • 1,813
  • 2
  • 21
  • 48
-1
votes
1 answer

PUT does not insert object in SQL Server

I'm having a problem with Web API where I want to create a new object in SQL Server. The PUT method is used to update an expensenote. An expensenote contains dailyexpensenotes. A dailyexpensenote contains individualexpenses. In the GUI, a user that…
-1
votes
2 answers

Using put request

I am try httpPut method.I don't know how to do it. I am trying this sample. In log I am getting a very long trace.. Can I know what does this line means?? Http Response:org.apache.http.message.BasicHttpResponse@5273e44c what does this means?? Here…
Harish Vats
  • 662
  • 6
  • 21
-1
votes
2 answers

Sending Multipart form data from windows phone to web api

Hi I want to send(post/put) some data(containing string, int and Stream) from windows phone 8.1 using HttpClient to web api. what is the best way to do that. public async void Put(string uri) { var httpClient = new…
-2
votes
1 answer

Parameter values in Web api is always null

I am sending my data in a put request from angular 7 to webapi put method in dotnetcore webapi. But every time I am getting null instead of actual values. see the below snipets. Making a put…
ikramf90
  • 92
  • 2
  • 17
-3
votes
1 answer

Which is more Efficient ? PUT or POST?

I have a service A, Service B, and Service C. A database is attached to service B. My requirement is to send data from service A every second. Service B processes the received data and store it in the database. Service C fetched processed data from…
Abhijith.M
  • 89
  • 1
  • 3
  • 11
1 2 3
18
19