Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
wakayamarb#37
Search
KamataRyo
September 22, 2016
Programming
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
wakayamarb#37
Node.jsでHTTPを処理するハンズオンです。
KamataRyo
September 22, 2016
More Decks by KamataRyo
See All by KamataRyo
TileCloud の開発を支える技術
kamataryo
2
470
NPX-shell-hacking
kamataryo
0
73
frontend-shikoku#1
kamataryo
1
770
Introducing of Map Warper
kamataryo
0
1.6k
wp-rest-api-and-amazon-polly
kamataryo
0
1.1k
how-to-deploy-from-travis-ci
kamataryo
1
960
IoT with React
kamataryo
1
320
wacker#17-wreact
kamataryo
0
170
Why have I preferred open source after leaving a public office?
kamataryo
1
6.2k
Other Decks in Programming
See All in Programming
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
3k
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.6k
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
140
Performance Optimization With LLMs
xleitix
0
240
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
220
Kotlinの15年とServer-Side Kotlin
n_takehata
1
190
Inertia Rails: The One-Person Framework with React & Friends
skryukov
0
380
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
280
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.7k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
570
LLM 101
dalinaum
0
460
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
190
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6.3k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
450
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
760
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
360
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
510
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Un-Boring Meetings
codingconduct
0
490
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.6k
First, design no harm
axbom
PRO
2
1.4k
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 @