GET method Flashcards

1
Q

What is the purpose of the GET method?

A

To request data from the specified resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the most common use of the GET method?

A

It is commonly used in HTML forms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How are name/value pairs sent in the GET method?

A

In the URL as a query string.

e.g /sample/test_form.php?name1=value1&name2=value2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What character separates the page request and the encoded information in a GET request?

A

The ? character.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a key limitation of the GET method regarding character length?

A

It can send up to 1024 characters only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: The GET method is suitable for sending sensitive information like passwords.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What type of data cannot be sent using the GET method?

A

Binary data, like images or word documents.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What PHP array is used to access information sent via the GET method?

A

$_GET array.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fill in the blank: The GET method produces a long string that appears in _______.

A

server logs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly