Zoho CRM Attachment download api not working(API Version 2)

Zoho CRM Attachment download api not working(API Version 2)

Hi,

I've tried following api to download attachment. And I couldn't download. I'm using Okhttpclient for downloading attachment and I got -1 as content-length.

I've tried in CUrl too. But, not downloading.
curl " https://www.zohoapis.com/crm/v2/Contacts/2847269000000505009/Attachments/2847269000000766005" -X GET -H "Authorization: Zoho-oauthtoken myauthtoken"

In postman tool too, this is not working. I got 204 NO CONTENT error in postman tool.

Please help and let me know Am I missing anything?.

Thanks,
Guna P