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