You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • For headers I was thinking outgoing requests

    Looks like you can do that too, just like node.js - not that I remember implementing it :)

    Untested, but:

    var options = {
          host: '', 
          port: '80',
          path:'/shelves/default/status/' + getButtonStatus(), 
          headers: { "A":"B", "C":"D"} // <----------------- Here
        var req = require("http").request(options, function(res) { ... });

Avatar for Gordon @Gordon started