How do I set cURL to always use the -k option?

后端 未结 1 2150
不知归路
不知归路 2021-02-20 16:16

For some reason my version of darwin/bash/evn variables is not letting me co anything from the command line with https, I dunno why, but I have tried everything.

But I h

1条回答
  •  鱼传尺愫
    2021-02-20 16:48

    Aliasing commands is usually not a problem. You could also put -k or --insecure into $HOME/.curlrc:

    echo insecure >> $HOME/.curlrc
    

    0 讨论(0)
提交回复
热议问题