API: Add user-agent and method (GET/POST) to request logging, and only log the action...