Skip to content

Commit

Permalink
feat: added one user get
Browse files Browse the repository at this point in the history
  • Loading branch information
KostLinux committed Aug 6, 2024
1 parent d62ede1 commit 92d2d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Write an golang web http server based on Gin framework that will have 2 endpoint
- GET /api/v1/ping that will return pong as message
- POST /api/v1/users with request body which will create a user in database via JSON Request Body
- GET /api/v1/users which will get all users from database in JSON Response Body
- GET /api/v1/user which will get only one user from database in JSON Response Body
- GET /api/v1/user/<user_name> or /api/v1/user/:id which will get only one user from database in JSON Response Body
- PATCH /api/v1/users which will update a user in database via JSON Request Body

The messages should be done in a json way, e.g:
Expand Down

0 comments on commit 92d2d5c

Please sign in to comment.