Put (update) works through http://localhost:8088/users/[userid here]
raw data in format :
{
"first_name": "Marceline",
"last_name": "Smith",
"email": "testing@testing.com",
"bio": "Do not be alarmed. This is only a tests. 2",
"username": "MSmith",
"password": "password",
"profile_image_url": null,
"created_on": "2024-05-29 11:52:11.834250",
"active": 1
}
Ticket:
72
What Changed:
Added crud functionality to json-server and user view.
Testing Steps:
Test in postman using GET, PUT, and DELETE. Create already exists.
Get all users works through http://localhost:8088/users
Get specific users works through http://localhost:8088/users/[userid here]
Delete specific users works through http://localhost:8088/users/[userid here]
Put (update) works through http://localhost:8088/users/[userid here] raw data in format : { "first_name": "Marceline", "last_name": "Smith", "email": "testing@testing.com", "bio": "Do not be alarmed. This is only a tests. 2", "username": "MSmith", "password": "password", "profile_image_url": null, "created_on": "2024-05-29 11:52:11.834250", "active": 1 }