I'm currently trying to create an application to automate analytics testing, but I have no idea what to use or how to start. What I wanted to do is explained in the pic below
I want to read the headers because the request that corresponds to the analytics have specific attributes. Is it possible to access those requests without creating an extension? ( Preferably with jQuery or PHP )
In php you can use getallheaders() ,
<?php
foreach (getallheaders() as $name => $value) {
echo "$name: $value\n";
}
?>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.