context should be populated with query, body, and params