Load container name from environment variable
Output more specific log messages
Log payloads as application/json
Use more robust body parsing method, and try to parse body as JSON
DRY up response sending code