I need to upload more than one text file (containing cXML) to a https URL.
The file names will be different and it is not possible for me to predict what the names will be.
Any ideas on what command(s) might work.
In the meantime, I’ve tried to upload just one file but am not sure that I have the syntax right :
curl -v file:///home/data_file_directory/data_filename https://httpshost.example.com/cxml/invoices
The -v is to get verbose output and when I run the above command I see the following in the output :
< HTTP/1.1 400 Bad Request
< Content-Type: text/html
< Transfer-Encoding: chunked
< Status: 400 Bad Request
So just want to see if the command I am running is invalid or whether there is some other issue.
Any help greatly appreciated!