Can anyone help with this curl request? I've tried it a few different ways but every time it can read the data from the file. I've done successful curl GET and Post request with the data in the request but I can't get it to read the file.
curl --location --request POST 'https://xxxxx' \
--header 'Account-Token: xxxxx' \
--header 'Authorization: Token xxxxxx' \
--header 'Content-Type: text/csv' \
--data-binary '@/C:/Users/xxxx/filename.csv'
Error:
Warning: Couldn't read data from file
Warning: "/C:/Users/xxxx/Desktop/filename.csv", this
Warning: makes an empty POST.
Thanks