일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 리액트
- 2주 프로젝트
- codestates
- 4주 프로젝트
- 손에 익히며 배우는 네트워크 첫걸음
- programmers
- SQL 고득점 Kit
- 백준
- 렛츠기릿 자바스크립트
- LeetCode
- 코어 자바스크립트
- 회고
- 정재남
- 토익 900
- 알고리즘
- js
- 토익
- 제로초
- Async
- 파이썬
- 리덕스
- 타입스크립트
- til
- 코드스테이츠
- 타임어택
- 타입스크립트 올인원
- 프로그래머스
- javascript
- HTTP
- 자바스크립트
Archives
- Today
- Total
목록Express (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