It seems the "http.js" and "https.js" and "url.js" is needed?
chaim007 opened this issue · comments
chaim commented
It seems the "http.js" and "https.js" abd "url.js" is needed? where can i find these js files?
--- graphql.js ----
xhr.send(body)
} else if (typeof require == 'function') {
var http = require('http'), https = require('https'), URL = require('url'), uri = URL.parse(url);
var req = (uri.protocol === 'https:' ? https : http).request({
protocol: uri.protocol,
hostname: uri.hostname,
Fatih Kadir Akın commented
They are built-in Node libraries to use with Node.
chaim commented
I got it.. Thanks a ton. ^^