• 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
Posts: 42968
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