Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Post method - Not able to bookmark the page

 
kalle suresh
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

Could you please clarify my doubt, What is the reason behind not able to bookmark the page if the request is HTTP POST.

Thanks,
Suresh.
 
kalle suresh
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anybody know, please reply to my question.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How will POST request parameters be bookmarked ?
 
yogesh srinivasan
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now it would be easy to explain your question if you could understand why its possible to bookmark a GET method page. Say if google search engine uses GET method to send your search request for "JavaRanch". You could get a response page from its site for your search and the link would be something like http://www.google.com/search?hl=en&q=javaranch&aq=f&oq=. Since its a GET request and your request data is sent along with the url and now you bookmark this link and when ever you call back the link your browser is going to send back your request with the search data and this is going to end up with the same page. Now to answer your question say if google uses POST method for its search then your search data is not sent through the url and its through the request body and even if you bookmark the result page it dosnt contain any information about what you have searched other than the resource location. This is the reason why we cant bookmark a POST method request.
 
kalle suresh
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot. Understood.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic