I am trying to download files from our HubSpot account, using the URL given for the file. I have tested with HTTPWebRequest and with WebClient. Using WebClient I get the file but it is blank, and if I use HTTPWebRequest I get a response of "error: (503) Server Unavailable". The download works fine if I use a web browser and enter the URL, just not working through my .NET program. I was curious if anyone has been able to do this, or if HubSpot secruity is stopping this from happening.
When receiving this it shows hubspot.com instead I needed hubapi.com and also it does not have the hapikey at the end. Once I added those to the string I was able to download.
When receiving this it shows hubspot.com instead I needed hubapi.com and also it does not have the hapikey at the end. Once I added those to the string I was able to download.