alternative for netcat utility

前端 未结 5 2336
庸人自扰
庸人自扰 2021-02-20 07:09

Is there any alternative for netcat utility? I want to run docker API and netcat utility is not installed on client system. docker command example - echo -e \"GET /info HTTP/1.0

5条回答
  •  终归单人心
    2021-02-20 07:31

    Have you got Perl? You could do something like this maybe:

    perl -MLWP::Simple -e "getprint('http://localhost')"
    

提交回复
热议问题