Skip to content

POST request help #13

Description

@blindpet

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

image

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions