• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to try the HttpMethods

 
Sony Agrawal
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To try POST and GET i used them in the method attribute of the form. But how do i try the OPTIONS, DELETE???
 
Sony Agrawal
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sony agrwal wrote:To try POST and GET i used them in the method attribute of the form. But how do i try the OPTIONS, DELETE???


specification just defines the roles of these methods. How they are to be implemented depends upon you. learn the methods and recommendations for each method.
for the exam you just need to know method signature , nature( idompotent etc) , and the working (of course recommended because you are free to override and change the nature )
have a look at the HttpServlet source : HttpServlet source
also check the method access specifier , that is important.

avi sinha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic