janholtz
Apr 23, 2019Altostratus
Internal datagroup REST / curl problem
What is the correct format for a file to populate an internal data group with a curl command?
I tried:
curl -vk -u xxxxx:xxxxx -H 'Content-Type:application/json' -X POST -d text.json
And in text.json I have the content of: curl -vk -u xxxxx:xxxxx -H "Content-Type:application/json" -X GET -o text.json
Surely the format of the records from a GET are correct for the format of records for a POST??? (I tried a PUT too, no joy).
Jan