Add validation to a REST API
Add safety checks
Fix failing unit tests and split integration tests
Create new todo entry
Use error code found from the constant class