Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
79 views

I hosted a .net8 core application on IIS server, I enabled and added http verbs using request filtering on IIS, it works for some days, but I don't know what changed. when i click on Request filtering ...
Joy Mathew's user avatar
0 votes
0 answers
2k views

I am trying to send a POST request to PROD server to fetch the response using the API I had created. It is working on my local and non-PROD environments. However, on sending request to PROD it is ...
LuciferTK0797's user avatar
0 votes
2 answers
828 views

Can I use POST or PUT rest endpoints to create or update list of items? or These should be always deal with single resource object? URL: POST/cars request body: { [ {id:car1}, {id:car2}, {id:car3} ] ...
pingpong2020's user avatar
2 votes
1 answer
1k views

We have a requirement of disabling the HTTP methods besides POST, GET and Head in an ASPNET Core Web application due as a part of security fixes. How can we disable the HTTP OPTIONS method in ASP.Net ...
Suzaku's user avatar
  • 21
-1 votes
1 answer
895 views

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 ...
A N's user avatar
  • 1
0 votes
0 answers
364 views

I have created a standard yii\rest\ActiveController and added my custom action to it: public function actionTest($id) { return ['test' => $id]; } To make it work, I have added a new entry to ...
trejder's user avatar
  • 17.6k
0 votes
1 answer
2k views

So i'm working on some APIs (Spring Boot)where I have both input and output of type XML. For documenting, I'm using Swagger (OpenAPI 3). Here is the controller: @RestController @Validated @...
Andrei Manolache's user avatar
0 votes
1 answer
50 views

I have a .net DLL which has web api end points with http verb decoration. And I only have ildasm disassembler to view IL code. How can I check what http verb is allowed for an endpoint(a particular ...
Mahen's user avatar
  • 3
1 vote
3 answers
9k views

The data, being sent over a PUT/PATCH/POST request, ultimately ends up in the database. Now whether we are inserting a new resource or updating or modifying an existing one - it all depends upon the ...
Pramit Pakhira's user avatar
0 votes
1 answer
457 views

i am using java, spring mvc and mybatis. for http patch, it is used to update partial resource, while put updates the entirely resource. my code looks like @RestController @RequestMapping("/test&...
frank's user avatar
  • 1,211
2 votes
2 answers
673 views

So if I would want to get say a User data, passing user id, I will use GET verb and pass user id in query string with route something like this [HttpGet] [Route("user/{userId}")] But what ...
Pawan Nogariya's user avatar
0 votes
2 answers
2k views

I know the use of http verbs is based on standard specification. But my question if I use "GET" for update operations and write a code logic to update, does it create issues in any scenario? ...
DxG's user avatar
  • 221
9 votes
1 answer
2k views

According to the RFC Put is used to update an existing resource. But, the Stripe API uses Post to update objects. Why is this? For example, in the Stripe Node Library update: stripeMethod({ ...
auerbachb's user avatar
  • 967
3 votes
1 answer
5k views

We have a requirement of disabling the HTTP OPTIONS method in an ASPNET Core Web application due as a part of security fixes. How can we disable the HTTP OPTIONS method in ASP.Net core 3.1 API?
user avatar
1 vote
1 answer
265 views

i have a model public partial class TalentVendorShots { public int Id { get; set; } public string Email { get; set; } public string One { get; set; } public ...
Devon Daigneault's user avatar
-1 votes
2 answers
200 views

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 ...
Panzercrisis's user avatar
  • 4,770
1 vote
3 answers
2k views

Maybe there are some sort of permissions I need to set up in the test webhost ? The Get and Post for the tests work fine. But get a HTTP 405 error when it tries to call the DELETE method on the ...
punkouter's user avatar
  • 5,386
0 votes
0 answers
25 views

Every time I reload a project from the studio, I find that IIS overwrites the web config file. As a result, all settings are lost, including those allowed by verbs. You have to go to the Handler ...
Vlad Kisly's user avatar
2 votes
1 answer
509 views

I have an end point like this /profiles/1 I want to get the profile whose id is 1 but at the same time increment the visited property by 1. The property comes as part of the object. Which HTTP verb I ...
Angad's user avatar
  • 1,132
1 vote
2 answers
2k views

Let's say you are building an API returning a list of resources at [GET] /resources => [ {.. id: 1, foo: "A" ..}, {.. id: 2, foo: "B" ..}, {.. id: 3, foo: "A" ..} ] ...
Manu Artero's user avatar
  • 10.4k
0 votes
1 answer
304 views

Getting 403 Forbidden on GET method when Firewall is enable. I have a requirement to search data on Web API, where I am passing input string as parameter in GET method. E.g. search "how are you" or "...
Matt's user avatar
  • 23
0 votes
2 answers
993 views

I am creating a RESTful API where “entries” can be added, modified, and deleted. Each entry is automatically assigned an expiration date when it’s created and is automatically deleted unless renewed ...
Benjy Wiener's user avatar
  • 1,275
0 votes
2 answers
18k views

I followed this, which led to this to try to disable my website from accepting the TRACE method (verb). Basically I added the section below to <system.webServer> inside Web.config (Default Web ...
Adriano_Pinaffo's user avatar
0 votes
1 answer
106 views

I've been trying to get the HTTP verbs right lately, however I have a doubt regarding using PUT, PATCH or even POST for the following scenario. The front end part is sending the following JSON data: ...
Luis Deras's user avatar
  • 1,278
-1 votes
1 answer
64 views

I have an endpoint that takes a list of email address (could be a very long list) and finds users with that email. What HTTP verb is best for this? I am thinking GET as there is no backend mutation ...
kator's user avatar
  • 969

1
2 3 4 5