I did this
curl --config - <<'EOF'
request = "POST"
fail-with-body
verbose
show-error
url = "http://172.16.22.1:12507/"
header = "Expect:"
insecure
max-time = "300"
data-urlencode = "transloadit@/path/to/data.json"
globoff
create-dirs
max-redirs = "5"
max-filesize = "128849018880"
EOF
I'd rather not share data.json, but I can disclose it's a 16M JSON file.
I expected the following
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 172.16.22.1:12507...
Instead got curl: <stdin>:9: 'data-urlencode' out of memory
curl/libcurl version
git bisect pointed me to f37840a. I can confirm that reverting this commit does solve the issue for me.
operating system
Reproduced with macOS 14.5 and Linux 6.8.0
I did this
I'd rather not share
data.json, but I can disclose it's a 16M JSON file.I expected the following
Instead got
curl: <stdin>:9: 'data-urlencode' out of memorycurl/libcurl version
git bisect pointed me to f37840a. I can confirm that reverting this commit does solve the issue for me.
operating system
Reproduced with macOS 14.5 and Linux 6.8.0