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
88
wakayamarb#37
Node.jsでHTTPを処理するハンズオンです。
KamataRyo
September 22, 2016
Tweet
Share
More Decks by KamataRyo
See All by KamataRyo
TileCloud の開発を支える技術
kamataryo
2
360
NPX-shell-hacking
kamataryo
0
44
frontend-shikoku#1
kamataryo
1
680
Introducing of Map Warper
kamataryo
0
1.3k
wp-rest-api-and-amazon-polly
kamataryo
0
930
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.9k
Other Decks in Programming
See All in Programming
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
830
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
780
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
260
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
210
たのしいparse.y
ydah
3
120
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
CSC305 Lecture 26
javiergs
PRO
0
140
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
140
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
340
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
Featured
See All Featured
Facilitating Awesome Meetings
lara
50
6.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Designing for Performance
lara
604
68k
How to train your dragon (web standard)
notwaldorf
88
5.7k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
The Invisible Side of Design
smashingmag
298
50k
How GitHub (no longer) Works
holman
311
140k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
4 Signs Your Business is Dying
shpigford
181
21k
A better future with KSS
kneath
238
17k
Documentation Writing (for coders)
carmenintech
66
4.5k
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 @