Quantcast
Channel: New Engines/Platforms — GSA SEO Forum
Viewing all articles
Browse latest Browse all 374

Request GSA SER new command in custom engine (Custom request headers)

$
0
0
I'm coding a custom engine, but there was a step that can't be submitted, I spent a few hours to find the problem, here is what I found.


Looking at Request Headers through Chrome developer mode, found a suspected header.




Using Advanced REST Client extension to send a request.

Without x-csrf-token header // Status code: 302 Found, no page found and being redirected to login page.





With x-csrf-token header // Status code: 200 OK, data has been submitted successfully.




So, I want to request a command to send custom headers.

Something like this.


[STEP1]
modify url=...
post data=...
form request with=XMLHttpRequest 
custom header=csrf-token=%csrf-token%
just download=1

Viewing all articles
Browse latest Browse all 374

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>