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