Your first HTTP Server Flashcards Preview

Phase_2 > Your first HTTP Server > Flashcards

Flashcards in Your first HTTP Server Deck (11)
Loading flashcards...
1

Use Express to handle a HTTP POST method

.

2

Use Express to handle a HTTP GET method

.

3

Set the content type of an HTTP response to json, in Node and Express

.

4

Set the content type of an HTTP response to html, in Node and Express.

.

5

Set the content type of an HTTP response to text, in Node and Express

.

6

Describe what Express Middleware is

.

7

Describe why the body-parser package is needed in Express

.

8

Use curl to send HTTP requests to an HTTP server

.

9

Describe the use cases for the HTTP status codes 200, 404, 500.

. ( Note you can see a quick preview of all these status codes right inside your CLI by writing code that gets the http module and console logs it )

10

Render HTML using ejs templates on Node

.

11

Respond to an HTTP request with HTML from a template

.