Http Flashcards

1
Q

What is a client?

A

Are service requesters… ie sends out requests asks for stuff

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

What is a server?

A

A provider of a resource or a service that triggers a response

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

Which HTTP method does a browser issue to a web server when you visit a URL?

A

A set of request methods GET request and POST request

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

What three things are on the start-line of an HTTP request message?

A

1) Http method that describes the action.
2) the request target usually a url
3) http version that defines the sturcture

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

What three things are on the start-line of an HTTP response message?

A

1) The protocol version http/1.1
2) status code indicating success or failure (200,404, 302)
3) a status text

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

What are HTTP headers?

A

This allows clients and servers to pass around additional information.

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

Where would you go if you wanted to learn more about a specific HTTP Header?

A

IANA registry

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

Is a body required for a valid HTTP request or response message?

A

It is optional

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

REST

A

Representational State Transfer

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