Curl posting variables to web site - were to get help?


i know wrong forum asked curl, going around in circles , read many post & web sites confused. 1 point me forum on curl ask solve problem?

i want post variables web site, using http variables web site php code works , trying yun via curl pass across variables. have 3 variables , have tried many different commands, such these:

code: [select]

curl www.abc.co.uk/upload.php --data a=1&b=2&c=3
curl www.abc.co.uk/upload.php?a=1&b=2&c=2



the above options not support variable transfers, looking fourm answer question

i know wrong forum asked curl, going around in circles , read many post & web sites confused. 1 point me forum on curl ask solve problem?

::::snip::::
@brendonshaw,
we can basic data transfer. on data transfer, have as:


curl -x post http://www.abc.co.uk/upload.php?a=1&b=2&c=2
or
curl -k -x post https://www.abc.co.uk/upload.php?a=1&b=2&c=2


-k = ignore security certificate
-x post = use post method

of course, depends on how upload.php

let know how works.
jesse


Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > Curl posting variables to web site - were to get help?


arduino

Comments