Add rest endpoint for answer logging