HubSpot interview question

GET data from an API, do some processing, then POST it back.