rails-e-commerce-api
GETlist users
http://localhost:3000/users
Example Request
list users
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
GETshow user
http://localhost:3000/users/1
Example Request
show user
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
POSTcreate user
http://localhost:3000/users/
Bodyformdata
user[email]
user[password]
user[first_name]
user[last_name]
user[phone]
Example Request
create user
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
PATCHupdate user
http://localhost:3000/users/1
Bodyformdata
user[email]
user[password]
user[first_name]
user[last_name]
user[phone]
Example Request
update user
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
DELETEdestroy user
http://localhost:3000/users/4
Example Request
destroy user
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers