NetFlow API & curl

NetFlow API & curl

In a browser I get " http://<IPADDR>:8080/nfaapi/json/device/conDetailData?apiKey=<APIKEY>&TimeFrame=Weekly&DeviceID=<DEVICE>&Type=Destination&Data=IN&Entity=<IPADDR> works just fine. However I initially tried "curl http://<IPADDR>:8080/nfaapi......" it fails. I have tried "curl -X GET --header "Accept: application/json" but it returns "{"error":{"message":"Parameter Missing. check the rest API reference","code":5002}}"

Is there a way to use CURL to connect with Netflow API? Anyone else using CURL?