GaloisInc / curl

A Haskell binding to the curl library
Other
30 stars 18 forks source link

curl -X options? #8

Open gsastry opened 10 years ago

gsastry commented 10 years ago

Hi

How can I mimic the functionality of "curl -X"? in particular I want to delete a resource on the server.

Thanks

schoettl commented 1 year ago

Looks like the DELETE and PATCH methods is not supported. The other HTTP methods can be used with method_XXX which translates to the proper CurlOptions.

Just answering this old issue because I'm working with this library right now..