HTTP methods used to designate the appropriate action to direct a server towards a resource. GET and POST are the most widely known; PATCH and DELETE also fit in that category, among others.
Questions tagged [http-method]
355 questions
-1
votes
1 answer
How to get the type of the HTTP request
Let's say I have an test.html file that I can either call by a POST request or a GET request. In this file I want to have a script that tells the type of the request. How should I do?
Thank you for your help.

JacopoStanchi
- 1,962
- 5
- 33
- 61
-1
votes
1 answer
Is there any issue will rise if am going to use post HTTP method for all CRUD operations
Is there any issue will rise if am going to use post method for all CRUD operations in Akka HTTP services. why we need to use separate HTTP method for CRUD operations.

sekhar
- 175
- 2
- 13
-1
votes
1 answer
Basic php mail issue: blank variables
I've got a strange problem: the same script is working in a different site I've built but not on my current one.
The php script refers to a html page (a submitting form) and I just want to send it to an email. Here's the HTML code:
-1
votes
1 answer
UploadString of Webclient for using PUT method
I want to Update data using webclient UploadString method. The following code gives error saying,
The remote server returned an error: (405) Method Not Allowed.
var syncClient = new WebClient();
string URI =…

Shomaail
- 493
- 9
- 30
-1
votes
1 answer
Triggering any HTTP method request from pure HTML
I wold like to send a non-GET http request from my HTML web-page.
But, I don't want to use any script (js, php, etc.).
I want this request to be sent only using HTML.
Is that feasible?
For example:

Mugen
- 8,301
- 10
- 62
- 140
-1
votes
1 answer
Is there something missing from this (borrowed/adapted) code, or am I not seeing where a Get gets fired?
I posted a question here that sends an HttpWebRequest, but on looking closer at my method SendHTTPRequestNoCredentials(), which I'm sure I adapted from something I found on StackOverflow some time in the past, it seems as if something's missing. See…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
-2
votes
1 answer
Spring Boot Difference usages of HTTP Methods
I am using Spring Boot for creating rest API. I learnt about PUT, PATCH, POST. PUT is for updating the resource and if Id is not present then it creates. Patch is for updating part of the resource and Post for creating new resources.
What I don't…

Lolly
- 34,250
- 42
- 115
- 150
-2
votes
1 answer
Request work with POST but with PUT I got 400 error
I'm trying to send a PUT request to my server from Postman, but i keep getting a status 400 Bad Request error, but with POST it works as expected.
When I change the annotation @PutMapping to @PostMapping, it works without changing anything else.
My…

Ismaïl
- 60
- 1
- 7
-2
votes
1 answer
Why should a client state http method?
We know the difference between POST and GET, but why should a client state the method type when issuing http requests? Why should it make a difference for the server? in the end, it is the server job to deal with those requests according to their…

AMD711
- 11
-3
votes
1 answer
REST API how to initiate clients to pull
I am building an SMS channeling app that accepts HTTP requests using PUT method to be delivered via SMS and that sends delivered SMS content to remote addresses. My channeling app accepts HTTP requests using PUT method to send via SMS. However I am…

a_Neg
- 11
- 1
- 3