http-patch Questions

4

Solved

I am trying to create a Patch request with theHttpClient in dotnet core. I have found the other methods, using (var client = new HttpClient()) { client.GetAsync("/posts"); client.PostAsync("/pos...
Lan asked 2/10, 2016 at 12:7

7

Solved

I am coding JUnit tests, calling my application via RestTemplate. I have successfully implemented GETs, POSTs, and PUTs, but can not get a PATCH to run (though it works when a client sends in the U...
Undergrown asked 9/1, 2017 at 21:14

13

What is the difference between PUT, POST and PATCH methods in HTTP protocol?
Imitate asked 27/6, 2015 at 13:15

4

Context I have a spring boot (version 2.2.6.RELEASE) web project. From this web application (I call "APP1") I want to call another URI using the PATCH method from another web application (Let's c...
Faizabad asked 6/5, 2020 at 17:56

3

Solved

since few days I was struggling on how to proceed with PATCH request in Go REST API until I have found an article about using pointers and omitempty tag which I have populated and is working fine. ...
Tildatilde asked 5/7, 2016 at 14:48

5

We are currently in the process of wrangling smaller services from our monoliths. Our domain is very similar to a ticketing system. We have decided to start with the cancellation process of the dom...
Marcionism asked 1/3, 2017 at 14:6

4

Solved

I am working on a REST API implementation using Jersey. For PATCH (partial updates), I have implemented my own custom implementation of PATCH since Jersey does not support it. Now I am trying to f...
Okhotsk asked 7/4, 2015 at 18:55

6

Solved

I want to design my rest endpoint with the appropriate method for the following scenario. There is a group. Each group has a status. The group can be activated or inactivated by the admin. ...
Deadly asked 16/6, 2014 at 10:44

1

Solved

trying to see which models are best suited for api (low updates, but object structure could change often, high read application) I have a resource like this Epic (id, name, description, start da...
Rodd asked 7/5, 2019 at 20:52

4

Solved

I have trouble understanding why PATCH is not safe where PUT is. Aso the idempotent part - if I update a field of the resource, wouldn't that field return the same value after update?
Sinistral asked 30/12, 2016 at 5:18

5

Solved

I have a model 'MyModel' with many fields and I would like to update a field 'status' using PATCH method. I'm using class based views. Is there any way to implement PATCH?
Dripping asked 16/1, 2015 at 9:4

0

I'm implementing a REST Api using basic Servlets in Java and I can't seem to find a doPatch() method. Why does HttpServlet not implement a PATCH method? I'd like to use it 'cause it is more meanin...
Delmydeloach asked 2/11, 2017 at 16:53

2

Solved

I'm having a problem with Web API 2 (.net 4.5.1) in that it seems to ignore PATCH requests where the property is an integer, but processes other types without a problem (I've tested string and deci...
Thurmanthurmann asked 12/3, 2015 at 11:13

2

Solved

If a PATCH request is applied to a resource that doesn't exist yet, is it then allowed to create the resource or do I need a separate POST/PUT request in that case? The PATCH request would go to t...
Detrude asked 23/12, 2016 at 18:52

2

Solved

I am trying to use PATCH method in my client using CXF implementation of JAX-RS. At first I defined the PATCH annotation as @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Htt...
Actinopod asked 18/8, 2015 at 8:46

2

I am implementing 'PATCH' on the server-side for partial updates to my resources. Assuming I do not expose my SQL database schema in JSON requests/responses, i.e. there exists a separate mapping b...
Maas asked 10/5, 2015 at 4:27

1

Solved

Short: Is it standard-compliant, RESTful and otherwise good idea to enable PATCH requests to update a collection of resources, not just a single one, but still individually? Long: I'm considering e...
Unguinous asked 29/1, 2015 at 9:52

1

Solved

From reading the RFC specification of the Patch verb it's clear that the Patch verb shouldn't get values to partially update the entity but operations to make: ...With PATCH, however, the enclosed...
Crowe asked 1/9, 2014 at 14:41

1

Solved

I am designing REST endpoints for my application and i need to use PATCH for a few of the endpoints. Will all browsers that support HTTP/1.1 be able to support the PATCH ?
Macias asked 17/6, 2014 at 6:47

3

Solved

What is the right way to perform PATCH request while saving model's attributes in Backbone.js?
Crowberry asked 17/5, 2012 at 13:56

1

Solved

tl;dr How to use backbone.stickit with a html form to change an existing model fetched from the server and only PATCH the changed attributes (changed by user input within the html form) to the ser...

1

I tried to use a def patch(): method in my webapp2.RequestHandler to support partial resource updates, but then saw that the allowed methods are frozen in webapp2.py: allowed_methods = frozenset((...
Pericranium asked 29/4, 2013 at 13:55
1

© 2022 - 2024 — McMap. All rights reserved.