You can’t do it easily. You can send AJAX requests only to the same server your site is on.
To send such request to another server, you’ll have to use CORS (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).
And I don’t believe that HubSpot will allow you to set proper headers…