Intro to Web Servers Flashcards

1
Q

What is

HTTP

A

The fundamental data transfer protocol for the World Wide Web.

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

HTTP is an application-layer protocol with what features?

A
  • It assumes client-server architecture
  • It is stateless.
  • It has two kinds of messages:
    • Requests: Sent by client
    • Responses: Sent by server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the different request methods that a client can use?

A
  • GET
  • POST
  • PUT
  • HEAD
  • DELETE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does a HTTP Request identify a resource?

There are two options.

A
  • Uniform Resource Identifier (URI)
  • Uniform Resource Locator (URL)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a

Web Server

A

A process that listens for and accepts HTTP messages, sent through network connections.

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

Briefly describe the

Web Server Process

A
  1. The server listens on a port
  2. The browser (client) opens a network connection to the port at which the web server is listening for incoming requests.
  3. The server responds by locating the requested resource and sending it back to the browser (client).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What do web applications need to offer services over HTTP?

A

Web applications require clients to identify the service and identify how to communicate with it.

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

What approach will our web application implement?

A

RESTful Approach (Representational State Transfer)

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