Home

Mac curl command for upload file is not working in catalina OS, but the same is working in Mojave.

%3CLINGO-SUB%20id%3D%22lingo-sub-1150112%22%20slang%3D%22en-US%22%3EMac%20curl%20command%20for%20upload%20file%20is%20not%20working%20in%20catalina%20OS%2C%20but%20the%20same%20is%20working%20in%20Mojave.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1150112%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMac%20curl%20command%20for%20upload%20file%20is%20not%20working%20in%20catalina%20OS%2C%20but%20the%20same%20is%20working%20in%20Mojave.%3C%2FP%3E%3CP%3Ebelow%20is%20the%20command%20we%20are%20using.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3Ecurl%20-POST%20-H%20'Content-Type%3A%20multipart%2Fform-data%3B%20boundary%3D---------------------------0123456789012'%20-F%20'filename%3DTempWorkbook.xlsm'%20-F%20'file1%3D%40%2FUsers%2Fsujith%2FLibrary%2FGroup%20Containers%2FUBF8T346G9.Office%2FTempWorkbook.xlsm'%20%3CA%20title%3D%22https%3A%2F%2Fdemo.diamondlane.io%3A8443%2Fbw_diamond_lane_dev%2Ffileuploadservice%22%20href%3D%22https%3A%2F%2Fdemo.diamondlane.io%3A8443%2FBW_DIAMOND_LANE_DEV%2FfileUploadService%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eurl%3C%2FA%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EPlease%20suggest%20what%20to%20do.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1150112%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

 

 

Mac curl command for upload file is not working in catalina OS, but the same is working in Mojave.

below is the command we are using.

 

curl -POST -H 'Content-Type: multipart/form-data; boundary=---------------------------0123456789012' -F 'filename=TempWorkbook.xlsm' -F 'file1=@/Users/sujith/Library/Group Containers/UBF8T346G9.Office/TempWorkbook.xlsm' url

 

 

 

 

 

 

 

 

 

 

 

 

 

 
Please suggest what to do.