Tag Info

New answers tagged

2

If the base64-encoded file is too big to fit in the argument list you are going to have to pass it via a file. One of the easier ways I can think of is to pass it via standard input. From the curl man page, you can use -d @- to read from stdin instead of the command line. curl -X POST -H "Content-Type: application/json" -d @- "$HOST" <<CURL_DATA { ...


0

One solution was provided here The idea is to make a static build of curl and then paste it to you /usr/bin/ or /usr/local/bin/. Briefly: ~$ xcode-select --install Download the latest version of curl. cd to the directory and run ~$ ./configure --disable-shared --with-darwinssl --enable-threaded-resolver ~$ make -j `sysctl -n hw.logicalcpu_max` Copy the ...


1

I have success using the curl options below: curl -vlkL https://www.basebit.com.br --ciphers DHE-RSA-AES256-SHA What HTTP response do you get?



Top 50 recent answers are included