API V2 GET CRM Accounts returns missing data using php/Wordpress wp_remote_get()
Hi, when using the endpoint https://www.zohoapis.com/crm/v2/Accounts in Postman I get all the correct data, however using exact same call in php/Wordpress the data comes back really strange.
With Postman there are 117 records, using wp_remote_get (or wp_remote_request) it *says* there are 117 records, but there are only 31, and many fields are just missing.
I understand this might not be a Zoho-specific thing, but if anyone has run across this issue please let me know.
Simplified version of code, which is effectively the same as what is being done in Postman:
- $ZohoResponse = wp_remote_get(
- 'https://www.zohoapis.com/crm/v2/Accounts', [
- 'method' => 'GET',
- 'timeout' => 45,
- 'headers' => 'Zoho auth stuff'
- ]
- );