get api/events/ POST route fully functional