Test /users - POST method

  1. In the Resources section of the UsersAPI.

  2. Under /users resource, select POST method.

  3. Open Test tab.

  4. In the Request body field, fill in:

    {
      "email": "tranvana@gmail.com",
      "name": "Tran Van A"
    }
    

alt text

  1. Click Test.

  2. Verify that the create-users Lambda function is invoked successfully, and the response is the created user.

alt text