목록express (2)
taenyLog
res.send The res.send() function basically sends the HTTP response. The body parameter can be a String or a Buffer object or an object or an Array. Syntax: res.send( [body] ) Parameter: This function accepts a single parameter body that describes the body which is to be sent in the response. Returns: It returns an Object. res.render The res.render() function is used to render a view and sends th..

템플레이팅 특정 로직과 HTML 응답 생성을 결합 EJS (Embedded JavaScript) - Node.js에서 많이 사용하는 템플릿엔진 EJS용 Express 구성하기 http://expressjs.com/en/5x/api.html#app.set Express 5.x - API Reference Express 5.x API Note: This is early beta documentation that may be incomplete and is still under development. express() Creates an Express application. The express() function is a top-level function exported by the express modul..