I am able to authorize the OAUTH connection fine, and also use the cURL command in order to get the defaulted amount of 20 contacts. However, when i append the &count=100 or &count=5, or any type of amount then my cURL does not work within the command line. It is weird because I can get the specified amount of results that I want if I place the URL within a browser where it will show my specified amount of results right in the browser page perfectly. Its only when I issue the exact URL within my command line where the request seems to just hang as it never returns back. Here is my command:
curl -H "Authorization: Bearer xxxx-xxxxx-xxxxx-xxxxxx" https://api.hubapi.com/contacts/v1/lists/all/contacts/recent?hapikey=xxxx-xxxxx-xxxxx-xxxxxx&count=5
Also just to clarify we have over a thousand records that are within the Hubspot App, but don't know as to why the command hangs only in command line when the amount is specified?
Any help will be appreciated!!! Thanks.