Skip to content

Commit

Permalink
doc: Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
happychuks authored Aug 14, 2024
1 parent 86d19c4 commit 509341c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ Before running the application, ensure you have the following:
| :----: | :---------------: | :-----------------: |
| GET | articles/ | List all articles |
| POST | articles/ | Add an article |
| GET | articles/<int:pk> | Retrieve an article |
| PATCH | articles/<int:pk> | Update an article |
| DELETE | articles/<int:pk> | Delete an article |
| GET | articles/<uuid:pk> | Retrieve an article |
| PATCH | articles/<uuid:pk> | Update an article |
| DELETE | articles/<uuid:pk> | Delete an article |

7. Client Testing: `http://localhost:3000/<ROUTE>`

| Method | Route | Description |
| :----: | :---------------: | :-----------------: |
| GET | articles/ | List all articles |
| GET | articles/<int:pk> | Retrieve an article |
| GET | articles/<uuid:pk> | Retrieve an article |

8. Model Testing: run `python manage.py test`

Expand Down

0 comments on commit 509341c

Please sign in to comment.