curl not available by default, so what can my script use instead to GET/POST/PUT?

ぐ巨炮叔叔 提交于 2019-12-25 03:44:15

问题


I am writing a Nautilus script that currently uses curl to GET/POST/PUT to a REST service.

Installing my script should be as simple as dropping a single file to ~/.gnome2/nautilus-scripts
My concern is that many computers do not have curl installed. I need to use a tool that is available nearly everywhere.

What would be a more widespread (should be installed by default on most distros) yet usable alternative to curl? wget does not allow PUT. Maybe telnet?

来源:https://stackoverflow.com/questions/5726572/curl-not-available-by-default-so-what-can-my-script-use-instead-to-get-post-put

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!