473,378 Members | 1,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

A question on the HTML verbs GET and POST

Dear people,

I am studying for 70-528 and in the self paced training kit written by Glenn
Johnson at chapter one I find a list of HTML verbs and their description. If
possible I would like to submit a posting here to clearify a few things I do
not understand.

<text in the book>
GET : Gets a URL from the server. A GET request for a specific URL,
say, /test.htm, retrieves the test.htm file. Data retrieved using this verb
is typically cached by the browser. GET also works with collections, such as
those in directories that contain collections of files. If you request a
directory, the server can be configured to return a default file, such as
index.html, that may be representative of the directory.
</text in the book>
I do not understand the part: GET also works with collections, such as
those in directories that contain collections of files.

What does it mean? GET can transfer a bunch of files from the server to the
browser somehow? If that's it, what is this used for, since I have never
seen it.

<text in the book>
POST : Used to create a new, dynamically named resource. Data retrieved
using this verb is typically not cached.
</text in the book>

I don't get this. I know POST just from posting a form and its content. What
is the 'dynamically named resource'?
Jun 27 '08 #1
4 2211

"Marc" <m,we******************@nki.nlwrote in message
news:ux**************@TK2MSFTNGP06.phx.gbl...
Dear people,

I am studying for 70-528 and in the self paced training kit written by
Glenn Johnson at chapter one I find a list of HTML verbs and their
description. If possible I would like to submit a posting here to clearify
a few things I do not understand.

<text in the book>
GET : Gets a URL from the server. A GET request for a specific URL,
say, /test.htm, retrieves the test.htm file. Data retrieved using this
verb is typically cached by the browser. GET also works with collections,
such as those in directories that contain collections of files. If you
request a directory, the server can be configured to return a default
file, such as index.html, that may be representative of the directory.
</text in the book>

i think the writer likes to overdue the jargon. inshort he saying that you
can get the page
http:/microsft.com/default.aspx
but calling the directory
http:/microsft.com/
>

I do not understand the part: GET also works with collections, such as
those in directories that contain collections of files.

What does it mean? GET can transfer a bunch of files from the server to
the browser somehow? If that's it, what is this used for, since I have
never seen it.

<text in the book>
POST : Used to create a new, dynamically named resource. Data retrieved
using this verb is typically not cached.
</text in the book>

I don't get this. I know POST just from posting a form and its content.
What is the 'dynamically named resource'?
not sure, more jargon I think, I don't think you have a very good book, a
good book explain things, not just gives them fancy names.

Jun 27 '08 #2

"ThatsIT.net.au" <me@workwrote in
not sure, more jargon I think, I don't think you have a very good book, a
good book explain things, not just gives them fancy names.
I think you're right there. It's a book for an exam. I have other books with
better content, which I also use, but I use this one since it just covers
all the exam material.

Thanks for the comments.
Jun 27 '08 #3
for complete inforation read: http://www.rfc-editor.org/rfc/rfc2616.txt
in summary a http request has three parts:

1) a request verb and uri
2) a list of headers
3) in the case of a post, content
there are serveral verbs (here are the most common)

HEAD - retrieve just the headers for a uri
GET - retrieve headers and content for a uri
POST - retrieve headers and content for a uri but content is included (the
content-type header defines the format of the content) following the request
headers

a GET uri request can be for a directory (with IIS enable directory
browsing), in which case the webserver shoudl return a list of files. the
format is not defined, but usually is a list of links.

don't confuse this with IIS defualt documnent, this is handled by the
webserver sending a redirect toanother URI.

with webdav, the webserver can be a file server. to create a document, you
just post it.

-- bruce (sqlwork.com)
"Marc" wrote:
Dear people,

I am studying for 70-528 and in the self paced training kit written by Glenn
Johnson at chapter one I find a list of HTML verbs and their description. If
possible I would like to submit a posting here to clearify a few things I do
not understand.

<text in the book>
GET : Gets a URL from the server. A GET request for a specific URL,
say, /test.htm, retrieves the test.htm file. Data retrieved using this verb
is typically cached by the browser. GET also works with collections, such as
those in directories that contain collections of files. If you request a
directory, the server can be configured to return a default file, such as
index.html, that may be representative of the directory.
</text in the book>
I do not understand the part: GET also works with collections, such as
those in directories that contain collections of files.

What does it mean? GET can transfer a bunch of files from the server to the
browser somehow? If that's it, what is this used for, since I have never
seen it.

<text in the book>
POST : Used to create a new, dynamically named resource. Data retrieved
using this verb is typically not cached.
</text in the book>

I don't get this. I know POST just from posting a form and its content. What
is the 'dynamically named resource'?
Jun 27 '08 #4

"bruce barker" <br*********@discussions.microsoft.comschreef

a GET uri request can be for a directory (with IIS enable directory
browsing), in which case the webserver shoudl return a list of files. the
format is not defined, but usually is a list of links.
Like when you get this?:

http://www.ow.dds.nl/temp/

and the reply

Index of /temp

Name Last modified Size Description

Parent Directory 13-Jun-2008 19:17 -
bingo1.doc 13-Jun-2008 18:10 20k
bingo2.doc 13-Jun-2008 18:11 20k
bingo3.doc 13-Jun-2008 18:15 21k
bingo4.doc 13-Jun-2008 18:18 20k
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rob Tweed | last post by:
Is there any way of getting hold of the raw payload for the HTTP request if the verb is something other than POST (eg the PUT, LOCK etc WebDAV verbs)? I've tried setting...
2
by: Franck | last post by:
Dear all Would anyone know of any program capable of AUTOMATICALLY "detecting" verbs in a text and "tagging"/"highlighting" them in color? I'm thinking of what Google uses for example when one...
2
by: Jacob | last post by:
I'm writing a custom component with an accompanying designer. I have the designer set up to notify me of changes to some of the components properties so that I can changed the designer verbs....
2
by: Kenneth Myhra | last post by:
Hi, We are trying to make an authorization module for our web dav folder using ..NET and implementing the IHttpModule. We have already done this in a previous version of our product, with an...
0
by: Genival P.Carvalho | last post by:
Hello folks, First sorry my bad english. I will try to implement a IExtenderProvider + Verbs (Designer). When compile tha follow code its compile fine, but whem drag resulting componet under form...
2
by: ryan.mclean | last post by:
Hello all, Can I add custom verbs to ascx webparts? I have seen good examples where the webpart is a custom control thingy that inherits from System.Web.UI.WebControls.WebParts, then overrides...
3
by: PJ6 | last post by:
I have this little tidbit in system.web in my web.config file, to allow the handling of requests ending in ".res": <httpHandlers> <remove verb="*" path="*.res"/> <add verb="*" path="*.res"...
1
by: =?Utf-8?B?YmFycnk=?= | last post by:
1. The following works fine on my local host http://www.webdevup.net/default.aspx 2. The above url shows that there is no verb list for the minimum number of verbs for a web part namely close and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.