HTTP Verbs represent the request methods that are recognized as part of the Hypertext Transfer Protocol. These include but are not limited to POST, GET , PUT and DELETE.
Questions tagged [http-verbs]
219 questions
0
votes
1 answer
Form with method: "get" makes a POST request?
This is my form:
<%= form_tag(method: "get") do %>
<%= submit_tag("Submit") %>
<% end %>
When I submit this form I get a server error because there is no POST action for this URL. In my routes I have an action for GET, but it's not picked up. …
user2469227
0
votes
0 answers
IIS7 - no response from server on request with DELETE verb
I have a Windows 2008 Server running the default IIS 7.0. I have an http handler where GET, POST, and PUT are working fine, but whenever I issue a DELETE request, there is nothing coming back from the server at all.
I'm using Fiddler to issue the…

Tor Langlo
- 191
- 2
- 6
0
votes
0 answers
HTTP OPTIONS Request: org.apache.http.NoHttpResponseException: The target server failed to respond
Whenever I try to fire a request with the HTTP-verb OPTIONS I get the following error message in the client, but no error messages on the server
org.apache.http.NoHttpResponseException: The target server failed to respond
curl -X OPTIONS URLgives…

MTon
- 1
- 1
0
votes
1 answer
sending an HTTP request with an unordinary method
I am trying to create a link on my web page that when accessed will cause an HTTP request with an unordinary method to be sent (for the sake of the example, the method is POSTS).
I know that regular HTML forms support only GET and POST and AJAX…

user3074662
- 111
- 3
0
votes
1 answer
Lines in rake routes with no HTTP verb
What does it mean when there are no HTTP verbs next to the URL pattern? For example, when I type
rake routes
Here's a snippet of what I see:
PUT /articles/:id
DELETE /articles/:id
/articles/:id/:article_page
…

User314159
- 7,733
- 9
- 39
- 63
0
votes
1 answer
Ways of submitting HTTP requests in a web document?
I want to build up a list of ways to cause HTTP submissions in a web document (HTML, Javascript, etc.) Here's what I have so far, with the HTTP verb(s) that can be used:
A links (GET)
FORMs (GET, POST)
AJAX requests (All HTTP verbs)
Are there any…

Jez
- 27,951
- 32
- 136
- 233
0
votes
1 answer
Which verb to use to send a "ResetCache"command to the server
I'm migrating a WCF app to a WEB.API app.
One of the calls implemented in WCF is a "ResetCache".
On the server a simple cache is maintained for performance reasons (without the cache, the data has to be fetched from the database for every incoming…

Paul0515
- 23,515
- 9
- 32
- 47
0
votes
1 answer
Can I reuse part of a controller action across all http verb/method actions in RoR?
Imagine a resource: /users/14/notifications. It implements several HTTP verbs/methods: GET, GET/edit, POST, DELETE.
All 4 actions share a small part of logic: retrieve all notifications, create some hash for easy access, fetch some specific user…

Rudie
- 52,220
- 42
- 131
- 173
0
votes
3 answers
How to get .net c# webAPI PUT and DELETE methods / verbs working
-Settings
IIS 7.5 and Visual Studio 2012 4.5
I have create the first webAPI project on my machine. With the code below I can change the type of verb to POST or GET and the request to the server and the response back to the client work perfectly.
As…

Vinyl Windows
- 503
- 1
- 7
- 19
0
votes
2 answers
PHP IIS7 VERB PUT get data
I have another question similar to a question I asked here:
JS Ajax calling PHP and getting ajax call data
However this time I'm dealing with the PUT verb. I was reading to get put data in php should use the…

MrB
- 1,544
- 3
- 18
- 30
0
votes
1 answer
Rails Routing and HTTP Verbs
My app is a workout scheduler.
The client typically does workouts at one of three timeslots in a given day, so I'm providing a quick-add function to schedule a morning, noon or evening workout.
I have the code working, but I don't think I'm doing it…

DVG
- 17,392
- 7
- 61
- 88
-1
votes
1 answer
Why is the System.Web.Mvc.HttpVerbs class missing TRACE, CONNECT & OPTIONS?
The RFC 2616 HTTP/1.1 definition states that the following common HTTP methods exist:
GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT
But the System.Web.Mvc.HttpVerbs enum is missing TRACE, OPTIONS & CONNECT.
I've got an action filter which…

RPM1984
- 72,246
- 58
- 225
- 350
-1
votes
1 answer
Blazor Wasm - 405 HTTP verb used is not allowed
I uploaded a blazor webapp on a host and I get this error while trying to modify or delete a product:
405 - HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invalid method (HTTP verb)…

A N
- 1
- 1
-1
votes
1 answer
What is the need for the PUT Method if we can update the whole resource in the PATCH request itself?
If we pass all the fields of the resource in a PATCH request's body, it would overall act as a PUT request itself, i.e. update the whole resource. So what is the need for the PUT method?

Aayush Taneja
- 511
- 7
- 18
-1
votes
2 answers
HTTP REST: If a request is idempotent, but the resource is unchangeable once inserted, should PUT or POST be used?
Imagine an HTTP REST endpoint, where a resource is inserted, and that the resource is understood to be a "message". Each individual message is identified by a unique identifier, such as a GUID value of some sort. The same message cannot be…

Panzercrisis
- 4,590
- 6
- 46
- 85