ASP.NET(vb.net) Request.HttpMethod() - Request Object - Request.HttpMethod() : Gets the HTTP data transfer method (such as GET, POST, or HEAD) used by the client.
ShotDev Focus:
- ASP.NET(vb.net) Request.HttpMethod() - Request Object
Example
AspNetRequestHttpMethod.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Me.lblText.Text = Request.HttpMethod().ToString End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> <asp:Label id="lblText" runat="server"></asp:Label><br> </form> </body> </html>
Screenshot