Closed eddiewebb closed 6 years ago
Instead of using -k
why not use --cacert
and point to your self-signed certificate??
I guess the point is one needs to know the problem (which resty is swallowing) in order to use either argument as a solution
The next major version will no longer hide curl error when hapenning. cf 4187af8 And It's gonna ship soon :)
I was struggling to understand why resty was silent on all commands, no error, no output.
GET / GET /agents POST /
etc.. just returned immediately. SO I poked with curl and forget the app was self-signed.
adding -k to the resty initialize call fixed everything.
THis critical error from curl should be presented to the user when initializing resty.