I have ARM cpu based BusyBox v1.8.1 (Embedded Linux) with limited binaries. How can I http post or put without using curl? I have wget available:# wgetBusyBox v1.8.1 (2015-04-06 16:22:12 IDT) multi-call binaryUsage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document file]        [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]        [-U|--user-agent agent] urlRetrieve files via HTTP or FTPOptions:        -s      Spider mode - only check file existence        -c      Continue retrieval of aborted transfer        -q      Quiet        -P      Set directory prefix to DIR        -O      Save to filename ('-' for stdout)        -U      Adjust 'User-Agent' field        -Y      Use proxy ('on' or 'off')CPU info...# cat /proc/cpuinfoProcessor       : ARM926EJ-S rev 1 (v5l)
How to run the HTTP request without using CURL
wget;busybox
A lot depends on what you have in your busybox and other commands. I dontthink your limited wget can be used, however a simple POST request canbe emulated with just a cat provided you can open a socket, eg with nc(netcat, socat), telnet, or even with a full version of bash, as it cando a connect, as shown below:On another machine use curl to do the request, and copy all the data itwrites. Eg: curl --trace-ascii - -0 -d var=val http://localhost/~meuh/dump.cgiThis shows in the curl trace output that it sent:POST /~meuh/dump.cgi HTTP/1.0User-Agent: curl/7.37.0Host: localhostAccept: */*Content-Length: 7Content-Type: application/x-www-form-urlencodedvar=valIf you put this in a file, you can reproduce the post, eg to google withthe bash script:#!/bin/bashexec 5<>/dev/tcp/www.google.com/80cat mypostfile >&5cat <&5 # replyThis probably only works well for smallish data, and servers that aren'ttoo fussy with \r\n line endings, but may suffice for you.