Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Methods

 
janne jounivich
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

As for the exam, in which level must a candidate know various
HTTP methods. It is obvious about GET and POST, but how about
all the others.

Wondering about how f.ex HEAD, TRACE, PUT or DELETE should work? This confusion was caused by the given information on page 109 of the HFS.

The book says about DELETE -> 'Says to delete the thing (resource/file) at the requested URL'. How should this be interpreted? Can it be understood as follows:
1) User's located on index.html page
2) He/she clicks submit button
3) ??? (shoud the resource (result.html) be deleted or what am I missing here?)

index.html
<html><body>
<form method="DELETE" action="result.html"
<input type="SUBMIT">
</form>
</body></html>

result.html
<html><body>
HI
</body></html>

Thanks for your help!
J-RockGulf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic