diff --git a/200.md b/200.md index 379d220bd8..914f7e5699 100644 --- a/200.md +++ b/200.md @@ -9,12 +9,10 @@ Below are separate headings for each endpoint. Each of them are separated into t For a recap on about HTTP Request Methods you can read here https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods -For example, for the first endpoint +For example, the first endpoint is: - `GET` is the request method -- "/" is the route - -On Line 8 of `server.js` you can find an example of the first endpoint that you will need to make. +- "/videos" is the route ## Project @@ -53,7 +51,7 @@ https://video-rec.herokuapp.com Your website should have the following four endpoints. -### `GET` "/" +### `GET` "/videos" This endpoint is used to return all of the videos @@ -61,7 +59,7 @@ This endpoint is used to return all of the videos See `exampleresponse.json` -### `POST` "/" +### `POST` "/videos" This endpoint is used to add a video to the API. @@ -97,7 +95,7 @@ If not successful } ``` -### `GET` "/{id}" +### `GET` "/videos/{id}" Returns the video with the ID contained within the `{id}` parameter @@ -112,7 +110,7 @@ Returns the video with the ID contained within the `{id}` parameter } ``` -### `DELETE` "/{id}" +### `DELETE` "/videos/{id}" Deletes the video with the ID container within the `{id}` parameter