Subj : Grabbing results from a webpage
To   : echicken
From : The Lizard Master
Date : Thu Aug 20 2020 09:18 am

 Re: Grabbing results from a webpage
 By: echicken to The Lizard Master on Thu Jul 23 2020 09:14 am

> load('http.js');
> var req = new HTTPRequest();
> var res = req.Get('http://some.web.site/');
> console.putmsg(res);

This is probably my javascript ignorance, but can I ask how you pass a javascript variable to a url variable? I tried setting it to a complete string that displays correctly, but I get a 400 error response from the server.

var res = req.Get(fullFormedURLThatWorksCopyPaste);

I also tried this -

var res = req.Get('http:///some.web.site/page?variable1=' + variable1);

THANKS!

---TLM

---
� Synchronet � Nite Eyes BBS - To make people happy about my tagline everywhere...