Refactor /intersects endpoint to take a post