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
3 answers
REST API Multiple PUT or DELETE in one time
Greeting everyone, I have a datatable in my html page that I populated using REST API. I can create new row and also update or delete by selecting a row and clicking the edit or delete button.
But currently I am unable to delete update or delete…

M.Izzat
- 1,086
- 4
- 22
- 50
0
votes
1 answer
Djangorest framework same Generic Create View with GET and POST
I'm using a Generic CreateAPIView to save a model in the database. Here's my code:
class AppointmentCreateAPIView(generics.CreateAPIView):
permission_classes = (AppointmentCreatePermission,)
queryset = Appointment.objects.all()
…

QuestionEverything
- 4,809
- 7
- 42
- 61
0
votes
1 answer
what is OPTIONS type in request type?
I have used GET & POST ,DELETE etc. but what is this OPTIONS for?
What different does it do in the controller side?

Apoorv
- 1,338
- 1
- 17
- 18
0
votes
1 answer
Same pattern different route
How can I defined two same URI that have two difference method to be called ?
For example :
'owners//pets' => 'pets/index', //using GET
'owners//pets' => 'pets/create',//using POST
I try this code below :
'GET…

bumbumpaw
- 2,522
- 1
- 24
- 54
0
votes
1 answer
Rails 5, RSpec with RackTest - deletion of a record feature test
I created a very simple Rails 5 demo application that has a bunch of categories (Category model). There is a _category.html.erb partial with a link to remove a category:
<%= link_to 'Remove', category_path(category), data: {method: :delete, confirm:…

Ilya Bodrov-Krukowski
- 581
- 2
- 13
0
votes
0 answers
c# HTTP PATCH 400 error
I am currently working on implementing a class for accessing rest webservices with my C# program. I managed to do that for PUT, Post and GET, but I have problems with the Patch. The following error occurs everytime:
There is an exception error…

MS4IM
- 3
- 4
0
votes
2 answers
Determine the HTTP verb of an endpoint based on the URL
For a project I've worked on in the past, we store a URL in a field in the app's database, so that when a user has to step away, power down their system, or whatever, that they can resume working on something by opening the affected record. This…

Andrew Gray
- 3,756
- 3
- 39
- 75
0
votes
1 answer
Can Google Analytics distinguish multiples requests using methods such POST, PUT, DELETE on a single URL?
I'm working on a web application that uses node.js + express. Our team has decided that all related pages must use a single URL and be distinguished only by its method.
So, for example: we have a group edition page. GET /groups gets the html, which…
0
votes
1 answer
rest api meaning in POST or PUT
I have referenced stackexchange's RESTful APIs.
From this, I have one situation that makes me confused.
I have this API:
/users/{user_id}/followings
On this API,
GET means get the all follwing user lists of user_id. This is good.
But, when I want…

user7159879
- 637
- 2
- 8
- 14
0
votes
1 answer
HTTP PUT insert and identity
From my understanding, PUT can be used to insert or modify existing record.
PUT to a URL creates/replaces the resource in its entirety at the
client defined URL.
PUT: www.domain.com/accounts/1
{
Name: "Some Name"
}
Following request would…

Robert
- 3,353
- 4
- 32
- 50
0
votes
1 answer
HTTP verbs PUT and DELETE stopped working
I have a ASP.NET Web API project where I use PUT and DELETE frequently. Sometime during the last couple of months PUT and DELETE stopped working. The web.config is still the same and the verbs works fine on my other machine.
I haven't worked with…

Peter Hedberg
- 3,487
- 2
- 28
- 36
0
votes
1 answer
process in Uniform Interface vs HTTP verbs
by considering the application of REST principles in the web.
i am doing a case study on REST and I have some doubt mostly on Uniform interface.
I assumes that Uniform Interface has only one single PROCESS instead of HTTP verbs (e.g. get, post,…

Mason
- 29
- 1
- 7
0
votes
1 answer
slow HTTP Options in ASP.NET
does somebody have any information how a HTTP OPTION is handled in ASP.NET.
We use the OPTION to healthcheck our system which is fast (around 1ms) but there are times where the response is too slow (2s) which triggers our healthcheck system. Any…

Mantzas
- 2,463
- 3
- 25
- 35
0
votes
1 answer
REST: How to update a row and create zero or more of other resource on same request?
I'll try to make this as simple as possible, it may be sort of dumb question.
I'm rewriting an 7 years old web application (help desk software). It is required to make it a REST API to be consumed by different clients web browser and mobile app.…

David Lavieri
- 1,060
- 1
- 8
- 19
0
votes
1 answer
How do I remove a sub resource by restful PATCH
When we use PATCH, we are partially updating a resource. What's the best practice if I want to remove part of the resource?
For example: we have a Person resource:
Person:
{
id: 3,
name: 'test',
companyId: 1,
}
Lets say this person leaves the…

Winters Huang
- 761
- 10
- 18