login about faq

Hi Matt,

I am in need of a new feature in for the ChilkatRequest class of the Chilkat http. I need to delete objects against a restful web service. Can you please add the method UseDelete?




asked Dec 03 '12 at 21:05

emartinson's gravatar image



There shouldn't be a need for it. When v9.2.0 (in May 2011) was released, the http.Use* methods were deprecated and replaced with the HttpVerb and ContentType properties. Here is the information reproduced from the release notes:

The Use methods are being deprecated. Instead of calling a method such as “UsePost”, set the HttpVerb and ContentType properties. The following table shows the equivalent property settings for each Use method.

UseGet: HttpVerb = "GET", ContentType = ""

UseDelete: HttpVerb = "DELETE", ContentType = ""

UseHead: HttpVerb = "HEAD", ContentType = ""

UsePut: HttpVerb = "PUT", ContentType = "application/x-www-form-urlencoded"

UsePost: HttpVerb = "POST", ContentType = "application/x-www-form-urlencoded"

UsePostMultipartForm: HttpVerb = "POST", ContentType = "multipart/form-data"

UseUpload: Same as UsePostMultipartForm

UseXmlHttp: HttpVerb = "POST", ContentType = "text/xml", MIME body = XML document

answered Dec 04 '12 at 08:14

chilkat's gravatar image

chilkat ♦♦

PS> This is a more open-ended solution that allows for WebDAV verbs, as well as new verbs that might be introduced in the future.

(Dec 04 '12 at 08:15) chilkat ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Dec 03 '12 at 21:05

Seen: 1,064 times

Last updated: Dec 04 '12 at 08:15

powered by OSQA