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

Querry on doPut ( )

 
Agarwal Priyanka
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we generally use the doGet() or the doPost(), then where the doPut() is applicable? and what is the advantage in using the doPut()?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Browsers generally don't use PUT (apart from JavaScript's XMLHttpRequest), but it's used in REST-style web services, as well as HTTP extensions like WebDAV.
It's worth noting that -although browsers are the most common clients of HTTP servers- HTTP is a generalized communication protocol, and other clients are possible.
[ July 26, 2008: Message edited by: Ulf Dittmer ]
 
Agarwal Priyanka
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Sir Ulf.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic