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: | Eric Oulashin |
|---|---|
| Location: | Beaverton, Oregon, USA |
| Users: | 127 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 492695:40:46 |
| Calls: | 7,917 |
| Calls today: | 4 |
| Files: | 9,413 |
| U/L today: |
8 files (7,040K bytes) |
| D/L today: |
664 files (699M bytes) |
| Messages: | 400,632 |
| Posted today: | 3 |