I’m trying to do an HTTP PATCH using curb. Looking through the code, there doesn’t seem to be a method exposed for this. Is there any way to use curb to do a PATCH? If not, what other libraries or methods are there in Ruby to accomplish this?
Share
With curb latest version (v0.8.1)
PATCHis supported even though it is not explicitly available within theCurl::Easyinterface (seelib/curl/easy.rb).You can find a shortcut method here:
With it you can perform a
PATCHrequest as follow:Under the hood, the
PATCHverb is simply passed to the easy interface as follow: