codestates / codestates/Ohjeju
Dev-Log Card 9/17 김민지
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## 오늘 프로젝트에 기여한 부분
- #100 에러 드디어 해결!!!!!
## 여러웠던 부분(선택사항)
- 플래너 CRUD 코드작성중인데 플래너 생성 중 그룹 생성 요청까지 보내는 부분에서 막혀서 진도가 안 나간다
- 여기서도 또 쿠키문제다 그놈의 쿠키@#!%$#@%$^!#
```js
const newGroupId = await axios.post('http://localhost:80/group', { groupName: 'New Group' })
```
이렇게 보내면
```
Error: Request failed with status code 401
at createError (createError.js:16)
at settle (settle.js:17)
at IncomingMessage.handleStreamEnd (http.js:269)
at IncomingMessage.emit (node:events:381)
at endReadableNT (node:internal/streams/readable:1307)
at processTicksAndRejections (node:internal/process/task_queues:81)
```
이렇게 401번 응답이 오는데 토큰을 못 읽어서 그렇다.
토큰을 왜 못읽냐?? -> 쿠키가 또 없으니까 또!!!!!!!!!!!
이걸 지금 에러핸들링으로 올려놔도 되나 고민중
## 주말동안 기여할(도전할) 부분
1. [x] 플래너 생성만 해결하면 나머지 세 개 구현은 어렵지 않을 것 같다. 빈 쿠키로 넘어가는 문제 해결해야함
2. [ ] 집에 간 동안에 oAuth 시도해볼 것
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.