You need to sign in to do that
Don't have an account?
Mars Rover 735
einstein intent api basics
I am trying the new Einstein Intent API basics module. One of the units directs us to download cURL and then in 'Create the Dataset' we are to use the following command to load the .csv file:
curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "type=text-intent" -F "path=http://einstein.ai/text/case_routing_intent.csv" https://api.einstein.ai/v2/language/datasets/upload
This results in a message stating curl is not recognized as a command. If I change the " to ' as suggested in the unit, I get a message stating the file can't be found.
curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "type=text-intent" -F "path=http://einstein.ai/text/case_routing_intent.csv" https://api.einstein.ai/v2/language/datasets/upload
This results in a message stating curl is not recognized as a command. If I change the " to ' as suggested in the unit, I get a message stating the file can't be found.
Try typing in your command line:
curl --version
If the same message appears, the problem does not come from the quotes.
Try the command in the folder where the file curl.exe belongs. For me, the folder is curl/src/ (I am using windows).