os2stl error when submitting postcode, how do i check what im getting back to start with?
getting error http://i.imgur.com/oGx4kOL
code at http://pastebin.com/jvFiH8sP
the https proxy thing is just this
http.request = function (options, callback) {
var __options = options;
__options.path = 'http://' + options.host + options.path;
__options.host = proxy.host;
__options.port = proxy.port;
if (_debug) {
console.log('=== http-proxy.js begin debug ===');
console.log(JSON.stringify(__options, null, 2));
console.log('=== http-proxy.js end debug ===');
}
var req = __request(__options, function (res) {
callback(res);
});
return req;
};
module.exports = function (host, port, debug) {
proxy.host = host;
proxy.port = port;
_debug = debug || false;
};