Search Header Logo

HTTP responses & request methods

Authored by Dimitra Karamperi

Computers

Professional Development

Used 14+ times

HTTP responses & request methods
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is correct for the GET method?

It requests a representation of the specified resource. Requests using it should only retrieve data.

It is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.

It establishes a tunnel to the server identified by the target resource.

It is used to apply partial modifications to a resource.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is correct for the CONNECT method?

It requests a representation of the specified resource. Requests using it should only retrieve data.

It is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.

It establishes a tunnel to the server identified by the target resource.

It replaces all current representations of the target resource with the request payload.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is correct for the PUT method?

It requests a representation of the specified resource. Requests using it should only retrieve data.

It performs a message loop-back test along the path to the target resource.

It establishes a tunnel to the server identified by the target resource.

It replaces all current representations of the target resource with the request payload.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is correct for the POST method?

It requests a representation of the specified resource. Requests using it should only retrieve data.

It is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.

It asks for a response identical to that of a GET request, but without the response body.

It is used to apply partial modifications to a resource.

5.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

Which of the following applies to GET requests? There might be more than one correct answers.

GET requests can be bookmarked

GET requests are never cached

GET requests should never be used when dealing with sensitive data

GET requests are only used to request data (not modify)

GET requests do not remain in the browser history

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

If GET /courses returns a list of courses, then HEAD /courses will make the same request but will not return the list of courses. True or False?

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

"Data is not displayed in the URL."

For which method is this true?

GET

POST

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?