Unfortunately I'm not finding http.js to be documented at all. I've been trying to make a .Post call passing in some parameters and it's just not working. Has anyone used http.js to make a .Post call and can shed some
Would be something like:
require('http.js', 'HTTPRequest');
const hr = new HTTPRequest();
const response = hr.Post('http://some-url', 'some post data');
Unfortunately, I have not determined if "Some post data" will do URL encoding or if I need to do it first. Is it a string or can it take arrays or data sets? Things of that nature.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,022 |
Nodes: | 17 (0 / 17) |
Uptime: | 25:09:34 |
Calls: | 503,191 |
Calls today: | 15 |
Files: | 219,693 |
D/L today: |
14,884 files (1,371M bytes) |
Messages: | 441,211 |
Posted today: | 3 |