Hi Team
I need to post file1.json and file2.csv using curl.
I tried this but no luck
Please help me
metadata=@/tmp/file1.json \
files=@/tmp/file2.csv \
curl -kiv --trace -w --location --request POST "<Location>" \
--header "accept:application/json,application/hal+json, application/json, application/*+json, text/plain, application/octet-stream, application/xml, text/xml, application/x-www-form-urlencoded, application/*+xml, multipart/form-data, multipart/mixed, */*" \
--header "Accept-Charset: UTF-8" \
--header "Content-Type:application/json" \
--form metadata="$metadata" \
--header "Accept-Charset: UTF-8" \
--header "Content-Type:multipart/form-data,text/csv" \
--form files="$files"