Update README.md : adding Endpoints section.
This commit is contained in:
11
README.md
11
README.md
@@ -1,3 +1,14 @@
|
|||||||
|
# Endpoints
|
||||||
|
|
||||||
|
| Method | URL Pattern | Handler | Action |
|
||||||
|
|--------|-----------------|---------------------|--------------------------------------|
|
||||||
|
| GET | /v1/healthcheck | healthCheckHandler | Show application information |
|
||||||
|
| GET | /v1/movies | listMoviesHandler | Show the details of all movies |
|
||||||
|
| POST | /v1/movies | createMoviesHandler | Create a new movie |
|
||||||
|
| GET | /v1/movies/:id | showMovieHandler | Show the details of a specific movie |
|
||||||
|
| PUT | /v1/movies/:id | editMovieHandler | Edit the details of a specific movie |
|
||||||
|
| DELETE | /v1/movies/:id | deleteMovieHandler | Delete a specific movie |
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
## Launch API
|
## Launch API
|
||||||
|
|||||||
Reference in New Issue
Block a user