| Author |
Post method - Not able to bookmark the page
|
kalle suresh
Ranch Hand
Joined: Nov 20, 2007
Posts: 43
|
|
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
Joined: Nov 20, 2007
Posts: 43
|
|
Hi All,
Can anybody know, please reply to my question.
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
How will POST request parameters be bookmarked ?
|
[My Blog]
All roads lead to JavaRanch
|
 |
yogesh srinivasan
Ranch Hand
Joined: Jun 08, 2007
Posts: 55
|
|
|
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
Joined: Nov 20, 2007
Posts: 43
|
|
|
Thanks a lot. Understood.
|
 |
 |
|
|
subject: Post method - Not able to bookmark the page
|
|
|