일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 제로초
- 타입스크립트
- 코어 자바스크립트
- til
- 손에 익히며 배우는 네트워크 첫걸음
- LeetCode
- 리액트
- 백준
- javascript
- 4주 프로젝트
- 알고리즘
- 2주 프로젝트
- 토익 900
- 회고
- 프로그래머스
- programmers
- 렛츠기릿 자바스크립트
- 파이썬
- js
- 리덕스
- 타임어택
- Async
- 정재남
- 코드스테이츠
- SQL 고득점 Kit
- 자바스크립트
- 타입스크립트 올인원
- 토익
- HTTP
- codestates
Archives
- Today
- Total
목록res.end (1)
Jerry
#8. res.json vs res.send vs res.end
이 express를 사용하면서, 위 세 가지 개념이 헷갈려서 공식 문서를 참고하여 적어보았다. 1. res.end([data] [, encoding]) Ends the response process. This method actually comes from Node core, specifically the response.end() method of http.ServerResponse. Use to quickly end the response without any data. If you need to respond with data, instead use methods such as res.send() and res.json(). res.end() res.status(404).end() 요약: 이 메서드..
CS/Terminology
2020. 12. 17. 23:58