@token = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NSwidXNlcm5hbWUiOiJ0ZXN0IiwiaWF0IjoxNzUxODA5OTA3fQ.uCJFysaOiXC8qZKykWLi58WDcItKSkQPUIZ7kH-87Tg ### CREATE USER POST http://localhost:8000/api/users/ Content-Type: application/json { "email": "test2@test.com", "username": "test2", "password": "Test_974", "picture": "null" } ### LOGIN USER POST http://localhost:8000/api/users/login Content-Type: application/json { "username": "test2", "password": "Test_974" } ### GET USER BY ID GET http://localhost:8000/api/users/astria Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJhc3RyaWEiLCJpYXQiOjE3NTE3NDYxMzJ9.i0MPfB7IJbMGNnaktV0OlxoCRs6ujKtVmSmlxLa2eNY ### GET USER BY USERNAME GET http://localhost:8000/api/users/username/astria Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJhc3RyaWEiLCJpYXQiOjE3NTE3NDYxMzJ9.i0MPfB7IJbMGNnaktV0OlxoCRs6ujKtVmSmlxLa2eNY ### UPDATE USER PUT http://localhost:8000/api/users/5 Authorization: Bearer {{token}} Content-Type: application/json { "email": "test@test.com", "username": "test", "password": "Rwqfsfasxc_974", "picture": "null" } ### DELETE USER DELETE http://localhost:8000/api/users/4 Authorization: Bearer {{token}}