Hi Matt,
I followed the steps in the section and tried several combinations of it and still get this message or something similar -
"msg": "value of the body_format must be one of: form-urlencoded, json, raw, got: form-multipart"
*note: this is the body section of the URI module/task -
file1:
filename: "somefilename.bin"
mime_type: application/octet-stream
todo: "dosomething"
*But when I decide to use the SHELL module and the curl command it works -
-k
-H 'Accept-Type: application/json' \
-H 'Content-Type: multipart/form-data' \
-H 'Cookie: 'somecookie' \
-F 'todo=dosomething'
-F 'binaryfile=@somefilename.bin'