Merge pull request #294 from ChristianRiis/patch-1

Update request.js
This commit is contained in:
Walter Higgins 2016-12-07 09:07:42 +00:00 committed by GitHub
commit f2f28a55fe

View file

@ -30,7 +30,7 @@ The following example illustrates how to use http.request to make a request to a
```javascript
var jsResponse;
var http = require('request');
var http = require('http');
http.request('http://scriptcraftjs.org/sample.json',function(responseCode, responseBody){
jsResponse = JSON.parse( responseBody );
});