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: 'hybrisiot.appspot.com', 
          port: '80',
          path:'/shelves/default/status/' + getButtonStatus(), 
          method:'post',
          headers: { "A":"B", "C":"D"} // <----------------- Here
        };
        var req = require("http").request(options, function(res) { ... });
    
About

Avatar for Gordon @Gordon started