Upgrade to Pro — share decks privately, control downloads, hide ads and more …

wakayamarb#37

KamataRyo
September 22, 2016

 wakayamarb#37

Node.jsでHTTPを処理するハンズオンです。

KamataRyo

September 22, 2016
Tweet

More Decks by KamataRyo

Other Decks in Programming

Transcript

  1. Try Node.js on shell WBSTBZ)FMMPGVODUJPO \ DPOTPMFMPH IFMMP  ^

    VOEFGJOFE TBZ)FMMP <'VODUJPO> TBZ)FMMP  IFMMP VOEFGJOFE @
  2. Try npm OQNJOTUBMMHDPXTBZ DPXTBZ8BLBZBNBSC @@@@@@@@@@@@@ XBLBZBNBSC  =?@@? = PP

    =@@@@@@@  @@ = == ]]X] ]]]]
  3. Make HTTP request WJNJOEFYKT ǎVTFTUSJDUǏ WBSSFRVFTUSFRVJSF SFRVFTU  WBSPQUJPOT\ VSMIUUQXUUSJOXBLBZBNB

     IFBEFST\ 6TFS"HFOUDVSM ^ ^ SFRVFTU PQUJPOT GVODUJPO FSSPS SFTQPOTF CPEZ \ JG FSSPSSFTQPOTFTUBUVT$PEF \ DPOTPMFMPH CPEZ  ^ ^ 
  4. Create HTTP server WJNTFSWFSKT WBSBQQSFRVJSF FYQSFTT  BQQ HFU ǎVTFSTOBNFǏ

    GVODUJPO SFR SFT \ SFTTFOE )FMMP  ^  DPOTPMFMPH TFSWFSJTMJTUFOJOH  BQQMJTUFO