Does http.js allow for customization of the headers sent in a request?
Absolutely, you need to create the request, modify it, then send it like
so:
req = new HTTPRequest();
req.SetupGet("http://example.com");
req.request_headers.push("X-Magic: More magic");
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 110:58:36 |
Calls: | 374 |
Calls today: | 1 |
Files: | 2 |
Messages: | 38,881 |