&
). You send such data with curl's -d
or --data
option like this:-d
options on the command line, curl will concatenate them and insert ampersands in between, so the above example could also be made like this:@
symbol, to avoid that curl tries to load that as a file name, use --data-raw
instead. This option has no file loading capability: