HubSpot interview question

take home exercise using get and post