I am trying to send a HTTP POST request to a page that has a variable named ‘csv_data’ in it (i.e. $_POST[‘csv_data’]).
Can someone tell me what is wrong with the following script?
:local csv "login,password,profile,kiosk_id\r\n\
i251,vmnt,SW15,IGN002\r\n\
i252,asdc,SW15,IGN002"
/tool fetch http-method=post http-content-type="text/plain" output=none http-data="csv_data=$csv" url="http://34.68.190.89/public/accounts.php"