Hello - Saw "Request" library is depracated, and the Hubspot package depends on it, so I wanted to see how to make an axios request server side to get a contact without either library. I'm using the following code, but getting a 401 response.
importexpressfrom'express';
importaxiosfrom'axios';
constapp=express();
constaccessToken='my still valid access token was here - assume it came from the same domain.'
I would recommend still using the library. I imagine the Hubspot team will eventually change it over. Is your application requesting the correct scopes/permissions for this endpoint?