Implement POST request handler.
Update error handling and status messages.