Last post Aug 26, 2014 11:34 PM by Shawn - MSFT
Aug 24, 2014 10:19 AM|gaddamraju4u|LINK
What is the default Http method?
IF GET is default then,
when i did't specify other methods in program then is get default to perform remaining all method's actions like requesting page, posting data, put , head ,delete ,trace method's actions ?
thanks in advance
Aug 24, 2014 10:32 AM|AidyF|LINK
There is no "default method", it would depend what you are using to make a request. A browser might select a default method for a <form> if you don't give one, however a WebRequest class might default to something different, who knows? A general rule is
to never rely on defaults. If you want to know what a specific default is, then consult the documentation for the objects you are using to see what the defaults are, or use a tool like fiddler to work it out.
Aug 26, 2014 11:34 PM|Shawn - MSFT|LINK
The set of common methods for HTTP/1.1 is defined, such as, Get, Post, Put, Delete etc.. There is no the default http method, and you need to specify the corresponding http method when you execute different operations.
For example, in web api, you define different actions and you could invoke them by specify the request type in your application. For detailed information, you could refer to: