Adding markdown table
continuous-integration/drone/push Build is passing Details

main
Drew Bednar 2 months ago
parent a4f5e05e7b
commit 694f7fe4ee

@ -3,4 +3,18 @@
![build-status](https://drone.runcible.io/api/badges/learning/pulley/status.svg)
A Golang HTTP API
A Golang HTTP API
## Routes
Uses [CleanURLs](https://en.wikipedia.org/wiki/Clean_URL)
| 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 | createMovieHandler | Create a new movie |
| GET | /v1/movies/:id | showMovieHandler | Show the details of a specific movie |
| PUT | /v1/movies/:id | editMovieHandler | Update the details of a specific movie |
| DELETE | /v1/movies/:id | deleteMovieHandler | Delete a specific movie |
Loading…
Cancel
Save