nmattisson / HttpClient

Http Client Library for the Spark Core (also well suited for Arduino and other embedded platforms).
Other
121 stars 150 forks source link

Support PATCH as an HttpVerb #14

Closed toolboc closed 9 years ago

toolboc commented 9 years ago

RFC5789 defines the PATCH HttpVerb for applying partial modifications to a resource. For example, updating a row in a database. This is supported in a variety of frameworks including Rails, Azure Mobile Services, and ASP.NET. This changeset enables creating PATCH requests using HttpClient.

nmattisson commented 9 years ago

Thank you @toolboc!

toolboc commented 9 years ago

Glad to help out! A few colleagues of mine are working on a Spark library for Azure Mobile Services @ https://github.com/dxhackers/AzureMobileSpark that will rely on these changes. Do you know how or can you provide an ETA on when these changes will be merged into the official Spark libraries? At this time, the new support is not included when referencing HTTPClient.

nmattisson commented 9 years ago

Hi @toolboc, I don't know if Spark plans to include this functionality in the official libraries. This is just something that I needed for an early prototype of an IoT product and made available for others.

I think there is a way to make it referenced from the Web IDE, but I don't use it so I'm not familiar with how it works.