In the Resources section of the UsersAPI
.
Under /users
resource’s {userId}
resource, select POST
method.
Open the Test
tab.
In the Request body field, fill in:
Replace the id value with the id of user created in previous step.
{
"id": "d1d2f263-9a93-408c-a836-c13e24fcebf6",
"email": "tranvanan@gmail.com",
"name": "Tran Van An"
}
Click Test
.
Verify that the update-user
Lambda function is invoked successfully, and the response is the data of updated user.