Skip to content

Commit a9a54e9

Browse files
authored
Update README.md
fixed minor description error
1 parent b87271c commit a9a54e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It has several useful endpoints:
88

99
The endpoint `/api/v1/users` allows for the creation of new users.
1010

11-
It requires a `first name`, `last name`, and `email address`, included as path variables on the request.
11+
It requires a `first name`, `last name`, and `email address`, included as the request body.
1212

1313
Example call to create a user:
1414
`curl -X POST "http://localhost:8080/api/v1/users" -H "accept: */*" -H "Content-Type: application/json" -d "{ \"emailAddress\": \"[email protected]\", \"firstName\": \"Wombat\", \"lastName\": \"Gumbo\"}"`

0 commit comments

Comments
 (0)