POST request help
blindpet opened this issue · comments
blindpet commented
I have found your quite old post here and was hoping you could elaborate.
I have a POST request that looks like this
action=ssbp_lazy&security=6cd3beb195&ssbppostid=992&ssbptitle=Setup+uTorrent+Server+Bloatware+Free&ssbpurl=http%3A%2F%2Fwww.htpcguides.com%2Fsetup-utorrent-server-bloatware-free%2F&ssbpshorturl=&ssbpsharetext
and a response that looks like this
Do I need to deal with the hash for both the request and the response? Here is what I have so far
import parsereq;
sub vcl_recv{
parsereq.init();
If req.url ~ admin.ajax.php && req.method == "POST" {
parsereq.post_body();
return (hash);
}
sub vcl_hash{
hash_data(parsereq.post_header("hogehoge"));
}
What is hoge?