如何使用curl从Linux命令行发送数据? [英] How to send data using curl from Linux command line?

查看:137
本文介绍了如何使用curl从Linux命令行发送数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将数据传送出一个嵌入式Linux设备通过WiFi连接的。我有卷曲和wget设备。如何将数据传输使用了卷曲或wget的设备呢?任何指针欢迎。

I am trying to transmit data out of an embedded Linux device over the wifi connection. I have curl and wget on the device. How would I transmit data out of the device using curl or wget ? Any pointers welcome.

推荐答案

中有一个的wget--post文件选项:

there is a "--post-file" option in wget:

wget --post-file=filetoSend URL

这篇关于如何使用curl从Linux命令行发送数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆