Added log to POST /api/data.