Posted 06 November 2013 - 08:28 PM
Hello. I am trying to read an html page and then get an authenticity token. However, i get the error:
bad argument: string\table\function expected.
Is there something I am doing wrong?
bad argument: string\table\function expected.
Is there something I am doing wrong?
e=e:gsub("<form action=\"/session\" id=\"login_form\" method=\"post\"><div style=\"margin:0;padding:0;display:inline\"><input name=\"authenticity_token\" type=\"hidden\" value=\"")
Thanks in advance.