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 characters
| git push origin +bcaa295^:master | |
| bcaa295 = last commit id |
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 characters
| curl -o /dev/null -s -w ' time_namelookup: %{time_namelookup}\n | |
| time_connect: %{time_connect}\n | |
| time_appconnect: %{time_appconnect}\n | |
| time_pretransfer: %{time_pretransfer}\n | |
| time_redirect: %{time_redirect}\n | |
| time_starttransfer: %{time_starttransfer}\n | |
| ----------\n | |
| time_total: %{time_total}\n' https://d3us0pl2fbyt5c.cloudfront.net/01875_horseheadnebula_2560x1600.jpg |
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 characters
| app.route('/book') | |
| .get(function (req, res) { | |
| res.send('Get a random book') | |
| }) | |
| .post(function (req, res) { | |
| res.send('Add a book') | |
| }) | |
| .put(function (req, res) { | |
| res.send('Update the book') | |
| }) |