@@ -79,7 +79,7 @@ Type: `object`
7979Name of [ conversion target] ( https://github.com/Mashape/httpsnippet/wiki/Targets )
8080
8181``` js
82- var httpsnippet = require (' httpsnippet' );
82+ var HTTPSnippet = require (' httpsnippet' );
8383
8484var snippet = new HTTPSnippet ({
8585 method: ' GET' ,
@@ -103,7 +103,7 @@ Type: `object`
103103Target options, * see [ wiki] ( https://github.com/Mashape/httpsnippet/wiki/Targets ) for details*
104104
105105``` js
106- var httpsnippet = require (' httpsnippet' );
106+ var HTTPSnippet = require (' httpsnippet' );
107107
108108var snippet = new HTTPSnippet ({
109109 method: ' GET' ,
@@ -115,7 +115,7 @@ console.log(snippet.convert('node'));
115115
116116// generate Node.js: Native output, indent with tabs
117117console .log (snippet .convert (' node' , {
118- indent: ' \t ' ;
118+ indent: ' \t '
119119}));
120120```
121121
@@ -141,7 +141,7 @@ Type: `object`
141141Target options, * see [ wiki] ( https://github.com/Mashape/httpsnippet/wiki/Targets ) for details*
142142
143143``` js
144- var httpsnippet = require (' httpsnippet' );
144+ var HTTPSnippet = require (' httpsnippet' );
145145
146146var snippet = new HTTPSnippet ({
147147 method: ' GET' ,
@@ -150,7 +150,7 @@ var snippet = new HTTPSnippet({
150150
151151// generate Shell: cURL output
152152console .log (snippet .convert (' shell' , ' curl' , {
153- indent: ' \t ' ;
153+ indent: ' \t '
154154}));
155155
156156// generate Node.js: Unirest output
0 commit comments