In order to test an API, I want to be able to make HTTP requests using custom verbs (such as "RECOMPUTE")¹, other than GET, POST, PUT, DELETE, OPTIONS, HEAD, TRACE and CONNECT.
Is there a library which already does that, or do I have to reinvent the wheel using HttpWebRequest
and HttpWebResponse
?
Answers to another, less specific question, suggest several libraries, none being compatible with what I need:
WebClient doesn't support custom verbs,
EasyHttp is limited to five verbs,
HttpClient seems not maintained (version 0.6.0, released two years ago).
¹ In anticipation of comments such as "Using non-standard verbs is a bad idea", there is nothing I can do with that. I'm using a private API where the choice was made to use custom verbs.