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
…
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…
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…
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…
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…
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…
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…