Diffing CURL Commands

RobertGainer
Community Member
1
1341

Hello,

We are trying to set up Diffing mode to run our SIS files and are using the below CURL command.

/usr/bin/curl --tlsv1.2 -H 'Content-Type: application/octet-stream' -F diffing_data_set_identifier=DiffID -F attachment=@/home/batch/Canvas/canvasfiles.zip --output /dev/null --write-out '%{http_code}' --stderr /tmp/CANVAS.07072021.7995592.err.canvasfiles.zip -H "Authorization: Bearer TOKEN" https://oursite.edu/api/v1/accounts/1/sis_imports.json?import_type=instructure_csv&extension=zip 

Unfortunately the files are not updating anything in the system. Does anyone see anything wrong with our CURL command that may be causing this issue to occur?

Thanks,

Robert

Tags (2)
1 Comment