I am trying to make a call to get the Dns records with the following
curl /<ZoneID>/dns_records/batch \
-H 'Content-Type: application/json' \
-H "X-Auth-Email: <email>" \
-H "X-Auth-Key: <Global API Key>" \
-d '{}'
and all I am getting is
{ "result":null, "success":false, "errors":[ { "code":9207, "message":"Request body is invalid." } ], "messages":[] }
I copy pasted the call from Cloudflares documentation and cant understand what is wrong.