Page 226 - Nodejs 교과서 개정2판
P. 226

}	else	{
           				morgan('dev')(req,	res,	next);
           		}
           });




         খਵ۽ ࢓ಝࠅ ৘ઁীࢲ ਤ৬ э਷ ಁఢਸ ࢎਊೞח ҃਋ܳ ࠅ ࣻ ੓णפ׮

          
          
               NVMUFS
         ੉ߣীח ࢎਊೞח ߑߨ੉ ׮ࣗ য۰਍ ޷ٜਝযܳ ঌইࠁѷणפ׮  ੉޷૑  ز৔࢚ ١ਸ ࠺܃ೠ ৈ۞ о૑ ౵ੌ

         ٜਸ ݣ౭౵౟ ഋधਵ۽ স۽٘ೡ ٸ ࢎਊೞח ޷ٜਝযੑפ׮  ݣ౭౵౟ ഋध੉ۆ ׮਺җ э੉ enctype੉ mult

         ipart/form dataੋ ಬਸ ా೧ স۽٘ೞח ؘ੉ఠ੄ ഋधਸ ੄޷೤פ׮

         ׮਺җ э਷ NVMUJQBSU IUNM੉ ੓׮ݶ ݣ౭౵౟ ഋधਵ۽ ؘ੉ఠܳ স۽٘ೡ ࣻ ੓णפ׮  ই૒ ࢲߡ ଃ ۄ਋ఠ
         ܳ ٜ݅૑ ঋওਵ޲۽ ৘ઁо प೯غ૑ח ঋणפ׮


          multipart.html
           <form	action="/upload"	method="post"	enctype="multipart/form-data">
           		<input	type="file"	name="image"	/>
           		<input	type="text"	name="title"	/>
           		<button	type="submit">업로드</button>
           </form>




         ݣ౭౵౟ ഋधਵ۽ স۽٘ೞח ؘ੉ఠח ѐߊ੗ بҳ /FUXPSL చীࢲ ׮਺җ э੉ ࠁੑפ׮  ੉޷૑ ೞաܳ ࢶ

         ఖೞҊ title ੋುী 제목੉ۄҊ ੸যࢲ স۽٘ೞݶ ׮਺җ э਷ ؘ੉ఠо ੹࣠ؾפ׮




























         § Ӓܿ     ݣ౭౵౟ ؘ੉ఠ ഋध
   221   222   223   224   225   226   227   228   229   230   231