HubSpot interview question

GET request on data. Generae an object and POST it as a response