I\'m trying to do create a delete function in my web API class.
I had problems earlier with using the Put and Patch Http messages since these were being linked to WebDAV.
After
If somebody is having this problem with only DELETE and PUT in the httprequest.
I had it and it was solved by removing WebDav.
https://inedo.com/support/kb/1140/disabling-webdav-in-iis