This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HEAD, PUT, DELETE HTTP methods Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "HEAD, PUT, DELETE HTTP methods" Watch "HEAD, PUT, DELETE HTTP methods" New topic
Author

HEAD, PUT, DELETE HTTP methods

Sharmila Punde
Ranch Hand

Joined: Dec 26, 2007
Posts: 133
Dear All,
Just want to see how these methods actually works? So how we can send HEAD, PUT, DELETE, TRACE request to the web server? We can send GET and POST using browser. Can we use browser to send these request to the web server?

Thanks


Regards, Sharmila.
We will have a future if we save Nature!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35241
    
    7
No, HTML forms only support GET and POST. But you can use JavaScript's XMLHttpRequest object to send the other types as well: http://developer.apple.com/internet/webcontent/xmlhttpreq.html


Android appsImageJ pluginsJava web charts
Andriy Pererva
Ranch Hand

Joined: Jul 19, 2009
Posts: 73
Also you can use Apache HTTP Client library to programmatically generate different types of requests to your web-server


SCJP 6.0(95%), SCWCD 5(94%), SCJD (working on B&S v.2.3.1)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: HEAD, PUT, DELETE HTTP methods
 
Similar Threads
Two questions
General Query on HTTP request generation
sessionId
Why no Exception for PUT,Delete,Trace....
How to trigger HTTP requests