Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
wakayamarb#37
Search
KamataRyo
September 22, 2016
Programming
1
87
wakayamarb#37
Node.jsでHTTPを処理するハンズオンです。
KamataRyo
September 22, 2016
Tweet
Share
More Decks by KamataRyo
See All by KamataRyo
TileCloud の開発を支える技術
kamataryo
2
350
NPX-shell-hacking
kamataryo
0
42
frontend-shikoku#1
kamataryo
1
670
Introducing of Map Warper
kamataryo
0
1.3k
wp-rest-api-and-amazon-polly
kamataryo
0
910
how-to-deploy-from-travis-ci
kamataryo
1
740
IoT with React
kamataryo
1
270
wacker#17-wreact
kamataryo
0
130
Why have I preferred open source after leaving a public office?
kamataryo
1
5.8k
Other Decks in Programming
See All in Programming
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
390
CSC305 Lecture 13
javiergs
PRO
0
130
EventSourcingの理想と現実
wenas
6
2.1k
Server Driven Compose With Firebase
skydoves
0
400
GCCのプラグインを作る / I Made a GCC Plugin
shouth
1
150
飲食業界向けマルチプロダクトを実現させる開発体制とリアルな現状
hiroya0601
1
400
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
440
Pinia Colada が実現するスマートな非同期処理
naokihaba
2
160
讓數據說話:用 Python、Prometheus 和 Grafana 講故事
eddie
0
350
Identifying User Idenity
moro
6
8k
Universal Linksの実装方法と陥りがちな罠
kaitokudou
1
220
Vitest Browser Mode への期待 / Vitest Browser Mode
odanado
PRO
2
1.7k
Featured
See All Featured
How to Ace a Technical Interview
jacobian
275
23k
Designing for Performance
lara
604
68k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
BBQ
matthewcrist
85
9.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
A Modern Web Designer's Workflow
chriscoyier
692
190k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Docker and Python
trallard
40
3.1k
The Power of CSS Pseudo Elements
geoffreycrofte
72
5.3k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Done Done
chrislema
181
16k
Transcript
HTTP request & response with Node.js @Wakayama.rb #37
Install Node.js
Brew Node.js on OSX
Start with @ $a@ For OSX or Linux For Windows
Check if Node.js installed OPEFW W OQNW W
Try Node.js on shell OPEF WBSB VOEFGJOFE
B @
Try Node.js on shell WBSGSVJUT<BQQMF CBOBOB> VOEFGJOFE GSVJUTQVTI HSBQF
GSVJUT <BQQMF CBOBOB HSBQF> @
Try Node.js on shell WBSTDPSFT\^ VOEFGJOFE TDPSFT<.BUI> TDPSFT.BUI
@
Try Node.js on shell WBSTBZ)FMMPGVODUJPO \ DPOTPMFMPH IFMMP ^
VOEFGJOFE TBZ)FMMP <'VODUJPO> TBZ)FMMP IFMMP VOEFGJOFE @
Try npm OQNJOTUBMMHDPXTBZ DPXTBZ8BLBZBNBSC @@@@@@@@@@@@@ XBLBZBNBSC =?@@? = PP
=@@@@@@@ @@ = == ]]X] ]]]]
Try npm NLEJSQSPKFDU/BNF DEQSPKFDU/BNF OQNJOJU @
Try npm UPVDIJOEFYKT OQNJOTUBMMTBWFSFRVFTU MT JOEFYKTQBDLBHFKTPOOPEF@NPEVMFT @
Make HTTP request WJNJOEFYKT ǎVTFTUSJDUǏ WBSSFRVFTUSFRVJSF SFRVFTU WBSPQUJPOT\ VSMIUUQXUUSJOXBLBZBNB
IFBEFST\ 6TFS"HFOUDVSM ^ ^ SFRVFTU PQUJPOT GVODUJPO FSSPS SFTQPOTF CPEZ \ JG FSSPSSFTQPOTFTUBUVT$PEF \ DPOTPMFMPH CPEZ ^ ^
Make HTTP request OPEFJOEFYKT @
Create HTTP server OQNJOTUBMMTBWFFYQSFTT UPVDITFSWFSKT @
Create HTTP server WJNTFSWFSKT WBSBQQSFRVJSF FYQSFTT BQQ HFU ǎVTFSTOBNFǏ
GVODUJPO SFR SFT \ SFTTFOE )FMMP ^ DPOTPMFMPH TFSWFSJTMJTUFOJOH BQQMJTUFO
Create HTTP server OPEFTFSWFSKT DVSMIUUQMPDBMIPTU IFMMP @