codestates / codestates/sagaksagak-client

[Error] / 닉네임 중복 검사 API

Open
#102 0 comments 0 reactions 0 assignees View on GitHub
Completed Error-Handling
Dominant language
JavaScript
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

> 해결된 에러라면 라벨에 'Complete' 를 달아주세요.
> 미해결된 에러라면 라벨을 'In progress' 로 변경해주세요.

### 어떤 에러인가요?
- RESTful API를 구성하기 위해 path parameter에 입력받은 username을 넣어 서버로 요청을 보냈으나, 통신 과정에서 path parameter가 변조되어 중복 검사 로직이 제대로 작동하지 않았습니다.

### 에러 메시지

```bash
$ 터미널의 에러 코드를 여기 넣어주세요.
```

### 에러 핸들링 방법

- path parameter엔 한글을 입력할 수 없었습니다. 따라서 한글 닉네임 중복 검사를 위하여 API를 변경했습니다.
- RESTful API 구성을 유지하기 위해 path parameter를 custom header로 변경하여 header에 담아주었습니다.

```js
// 코드가 들어가도 좋아요!
```

### 에러 핸들링을 위해 참고한 레퍼런스 링크

[링크]()

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the client request for username duplicate checking and compare its path-parameter handling with the reported custom-header approach. Done means Korean nicknames can be checked for duplicates without the username being altered during the request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.