Use this API to get and create users
Creates a new user
{id=42, name=example}object
| Name | Type | Description |
|---|---|---|
| id | integer (int32) | REQUIRED. A unique ID for the new user Example: 42 |
| name | string | The name of the user Example: example |
| Code | Content Type | Description |
|---|---|---|
| 201 | */* | The user was created |
| 400 | */* | The ID or name was not specified |
curl -is -X 'POST' -H 'accept: */*' -H 'content-type: application/x-www-form-urlencoded' --data-urlencode 'id=42' --data-urlencode 'name=example' 'https://muserver.io/jaxrsdocs/users'Gets a single user
| Name | Type | Description |
|---|---|---|
| id | path - integer (int32) | REQUIRED. The ID of the user Example: 42 |
| Code | Content Type | Description |
|---|---|---|
| 200 | application/json | Success |
| 404 | application/json | No user with that ID found |
curl -is -X 'GET' -H 'accept: application/json' 'https://muserver.io/jaxrsdocs/users/(id)'