I am using the latets version limesurvey3.17.16
I am running a shell script which was used with an older limesurvey version which should delete a specific survey and import it again. so to say reset it
I get severals "HTTP request sent, awaiting response... 400 Bad Request" responses but the output then is "400: bad request - The CSRF token could not be verified"
I can send you the link to the php file which then executes the shell script
edit: maybe the error is in the shell line 'IN=$(grep "\"YII_CSRF_TOKEN\"" login.rsp)' ?
edit2: still get the same error but here are some options to disable CSRF or set a CSRF cookie but still no difference
www.limesurvey.org/manual/Optional_settings