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: | Jacob Catayoc |
---|---|
Location: | Pasay City, Metro Manila, Philippines |
Users: | 2 |
Nodes: | 4 (1 / 3) |
Uptime: | 32:24:22 |
Calls: | 15 |
Calls today: | 15 |
Messages: | 40,053 |
Posted today: | 8 |