codestates / codestates/ThereWeather

[๐Ÿ‘พ Error Handling] 404error

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
error
Dominant language
JavaScript
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## ์–ด๋–ค ์—๋Ÿฌ์ธ๊ฐ€์š”?
- mypage์—์„œ ์„œ๋ฒ„๋กœ get์š”์ฒญ์„ ํ•˜๋Š”๋ฐ 404์—๋Ÿฌ๊ฐ€ ๊ณ„์† ๋œธ

## ์—๋Ÿฌ ๋ฉ”์‹œ์ง€
```jsx
GET http://localhost/mypage?search=kimcoding123 404 (Not Found)

Uncaught (in promise) Error: Request failed with status code 404
at createError (createError.js:16)
at settle (settle.js:17)
at XMLHttpRequest.onloadend
```

## ์—๋Ÿฌ ํ•ธ๋“ค๋ง ๋ฐฉ๋ฒ•
```jsx
server/index์— ๋ผ์šฐํŒ…์ด get์ด ์•„๋‹ˆ๋ผ post๋กœ ๋˜์–ด ์žˆ๋Š”๊ฑธ ์ˆ˜์ •
```

## ์—๋Ÿฌ ํ•ธ๋“ค๋ง์„ ์œ„ํ•ด ์ฐธ๊ณ ํ•œ ๋ ˆํผ๋Ÿฐ์Šค ๋งํฌ
[์˜ˆ์‹œ1](์ฃผ์†Œ)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.