vinnyuk 1 Posted September 27, 2016 Report Share Posted September 27, 2016 Hi Ubot Studio Forum I was hoping you might be able to help me If someone was to use Aymen's HTTP GET and was retrieving data from a page like this set(#aymen, $plugin function("HTTP post.dll", "$http get", "https://www.gumtree.com/p/volkswagen/vw-golf-match-tdi/1189560391","", "", "", ""), "Global") Then they collected the token info using regex and before reloading the page set the headers like below? plugin command("HTTP post.dll", "http set headers", "x-gumtree-token", "eyJhbGciOiJIUzI1NiJ9.eyJuYmYiOjE0NzQ4ODgzNjIsImlzcyI6Imh0dHBzOlwvXC93d3cuZ3VtdHJlZS5jb20iLCJleHAiOjE0NzQ5MDk5NjEsImlhdCI6MTQ3NDg4ODM2MSwiYWR2ZXJ0X2lkIjoxMTg5NTYwMzkxfQ.dYeiiOB4KB7Y16FEU6tqo6Ew9zbD_0YRFrstlx90RL8") Should the page reload with the token? At the moment I get an error and my objective is to reload the page with a token so I can reveal a telephone number. Quote Link to post Share on other sites
Gogetta 263 Posted September 27, 2016 Report Share Posted September 27, 2016 There is a much easier way to go about it. https://iphone-api.gumtree.com/api/ads/ad id here https://iphone-api.gumtree.com/api/ads/1189560391 You got to love the mobile api. Quote Link to post Share on other sites
vinnyuk 1 Posted September 30, 2016 Author Report Share Posted September 30, 2016 Gogetta That is awesome, I had no idea this existed Thanks Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.