docker build -t lsyh-symfony-task .docker run -p 8000:8000 lsyh-symfony-task- Access the site on
127.0.0.1:8000
| Endpoint | Method | Description |
|---|---|---|
| /api/user/{id} | GET | Lists all or a single User based on [id] Use ?format=yaml to retrieve the results in YAML |
| /api/user | POST | Creates a new user |
[POST] /api/user
{
"firstName": "John",
"lastName": "Doe",
"password": "secret",
"emailAddress": "john@doe.test"
}