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
RESTful URI for Two (or more) Syntactically Identical Resources
I have two REST endpoints with the following signatures:
DELETE /v2/cars/:carId *where carId is an integer*
DELETE /v2/cars/:carMake *where carMake is a string*
It appears Strongloop does not handle this well, as it assumes input is always carName…

Matt
- 5,408
- 14
- 52
- 79
0
votes
1 answer
REST - how to create an entry in a collection in different ways?
I need to support different ways of adding a component to a collection of components: adding "blank" component, adding a component which is an instance of a classadding a component which is a copy of another component (paste). Each way requires…

user4134414
- 47
- 5
0
votes
1 answer
Patch link turning into get when opened in new tab?
I have a PATCH link that works normally when people click on it... but for some reason, when a user clicks on the link to open in a new tab, I get a routing error saying this path does not exist for GET.
<%= link_to "Create Note",…

tkz79
- 95
- 10
0
votes
1 answer
405 HTTP Error - PHP POST
I have a site running on windows server 2008.
The site is HTML, and has two forms which POST to PHP scripts (both to send an email).
This error comes up however when I click the submit button on the page
"405 - HTTP verb used to access this page…

109221793
- 16,477
- 38
- 108
- 160
0
votes
0 answers
Web API 2: POST or PUT for accepting an entity
I.e. we have a system with entities (requests) from one type of users. There are another type of users, which can accept or decline these entities. What should I use (PUT or POST) to accept/decline concrete request for concrete user? As I…

Oleg Sh
- 8,496
- 17
- 89
- 159
0
votes
1 answer
How do I log a non GET request to my action method?
My action method is set to accept only GET requests. If a verb other than GET is sent to it, an 'HTTP 405 Method not allowed' response would be sent back to the client. But I need to log it whenever a verb other than GET is sent to it. The way I…

Joonu Thomas
- 318
- 3
- 4
0
votes
1 answer
Custom search in an API
I have an API with a custom search over half a dozen fields, something along the lines of the following, although may also include sensitive data as I use the same approach for the same type of search…

Jon Story
- 2,881
- 2
- 25
- 41
0
votes
0 answers
PUT API request - (IIS media services API)
I'm trying to complete a PUT request to the IIS media services API - to try and set a publishing point to "stopped" state.
I've read the following link, which hasn't helped me very…

Phil Golding
- 433
- 3
- 10
0
votes
0 answers
Yii2 accepting POST data in action - Invalid route?
I may be missing something with a basic concept of Yii2 but I am simply trying to submit a form to a controller action and when that happens I am always getting InvalidRouteException. The controller is called "List" and is class ListController which…

brdflp
- 129
- 3
0
votes
1 answer
Enable PUT verb to certain areas of a ASP.NET MVC site only
I'm enabling the PUT verb on my site with the following lines in web.config

carl kenne
- 80
- 8
0
votes
1 answer
Proper REST endpoints when requesting reprocessing of failed asynchronous task
Imagine a system for requesting files are upload from a particular URL.
http://example.com/{accountId}/files
A POST is made to that endpoint to initiate the file transfer. But given that the file can be large, and the process may take a while the…

Matt
- 2,795
- 2
- 29
- 47
0
votes
1 answer
Rails: What in my code determines which http verb is used in a route 'call'?
On the Rails Routing from the outside in page, in section 2.2, there's talk of how the http verbs and URLs are used to match 4 URLs to 7 paths.
In section 2.3 it explains how helper paths are available and, sure enough, there are the 4 paths that…

moosefetcher
- 1,841
- 2
- 23
- 39
0
votes
2 answers
Workaround for more REST verbs
I'm developing a game website where accounts have characters. I'm using the routes:
account/{action} //execute `action` on the current account
character/{name}/{action} //execute `action` on specific character
But I need to delete and undelete…

ranieri
- 2,030
- 2
- 21
- 39
0
votes
2 answers
Unable to resolve Network Error: 405 Method Not Allowed
I have an application in which I am using OData and Knockout Js. In my application I am using POST, GET and DELETE HTTP Verb and when I hosted my application, the GET and POST doesn't throw any error but DELETE does throw an error, not sure how to…

DoIt
- 3,270
- 9
- 51
- 103
0
votes
1 answer
How to handle metadata requests in a RESTful way
I am searching for a good way to handle requests for metadata associated with specific REST requests.
For example http://example.net/SomeModule/GetListOfData returns a JSON list and I search for a way to deliver metadata about that data - for…

Fionn
- 10,975
- 11
- 54
- 84