Last active
January 15, 2016 01:15
-
-
Save sgnl/f85abdfc71e3b501e6e3 to your computer and use it in GitHub Desktop.
Revisions
-
sgnl revised this gist
Jan 15, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ in **server.js file** ```javascript server.use(bodyParser.urlencoded({ extended: true})); // remove this line server.use(bodyParser.json({ type: 'application/json' })); //replace with this line ``` in **Postman:** -
sgnl revised this gist
Jan 14, 2016 . 1 changed file with 2 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,11 +6,6 @@ server.use(bodyParser.json({ type: 'application/*+json' })); //replace with this in **Postman:**  Notice the "JSON (application/json)" setting. -
sgnl revised this gist
Jan 14, 2016 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,9 +5,12 @@ server.use(bodyParser.json({ type: 'application/*+json' })); //replace with this ``` in **Postman:** **Headers:**  **Body:**  -
sgnl renamed this gist
Jan 14, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
sgnl created this gist
Jan 14, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ in **server.js file** ```javascript server.use(bodyParser.urlencoded({ extended: true})); // remove this line server.use(bodyParser.json({ type: 'application/*+json' })); //replace with this line ``` in **Postman:** **Headers:**  **Body:** 