Assertion: var request | /r/HasProperty | = require("request
Facets:
Source sentences:
text: var request = require("request"); request("http://www.sitepoint.com", function(error, response, body) {
text: var request = require("request"); var fs = require("fs"); request("http://www.sitepoint.com").pipe(fs.createWriteStream("jspro.htm"));
text: var request = require("request"); request({ uri: "http://www.sitepoint.com", method: "GET", timeout: 10000, followRedirect: true, maxRedirects: 10 }, function(error, response, body) { console.log(body); });
text: var request = require("request"); request({ uri: "http://www.cjihrig.com/development/php/hello_form.php", method: "POST", form: { name: "Bob" } }, function(error, response, body) { console.log(body); });
text: var request = require("request"); var jar = request.jar(); var cookie = request.cookie("name=John"); jar.add(cookie); request({ uri: "http://www.cjihrig.com/development/php/hello_cookies.php", method: "GET", jar: jar }, function(error, response, body) { console.log(body); });