Returns an array of user
objects that contains only the user specified by the name
parameter, if it exists.
{server_url}/users?name=<name to find>
Parameter name | Type | Description |
---|---|---|
name |
string | The name of the user to return |
None
None
[
{
"id": 4,
"name": "David Brown",
"email": "david@example.com"
}
]
Status value | Return status | Description |
---|---|---|
200 | Success | Requested data returned successfully |
404 | Error | Specified property not found |
ECONNREFUSED | N/A | Service is offline. Start the service and try again. |