HubSpot interview question

Hubspot coding challenge asked to manipulate data and post request to their endpoint