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
44
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.9k
Other Decks in Programming
See All in Programming
Realtime API 入門
riofujimon
0
150
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
240
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
120
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
940
Jakarta EE meets AI
ivargrimstad
0
620
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
subpath importsで始めるモック生活
10tera
0
320
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
43
13k
How to train your dragon (web standard)
notwaldorf
88
5.7k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
A better future with KSS
kneath
238
17k
Designing the Hi-DPI Web
ddemaree
280
34k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
A designer walks into a library…
pauljervisheath
204
24k
Speed Design
sergeychernyshev
25
620
Building Applications with DynamoDB
mza
90
6.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
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 @