Glowb Dev Docs
Main API멤버 API

GET /member/check/{id}

아이디 중복 확인

아이디 중복 확인

기업 회원가입 시 ID 중복 여부를 확인합니다.

항목
메서드GET
경로/member/check/{id}
인증불필요

요청

GET /member/check/testuser HTTP/1.1
Host: api.glowb.com
curl "https://api.glowb.com/member/check/testuser"
const response = await fetch(`/member/check/${userId}`);
const isDuplicate = await response.json();

if (isDuplicate) {
  alert('이미 사용 중인 ID입니다.');
} else {
  alert('사용 가능한 ID입니다.');
}

Path Parameters

Prop

Type

응답

성공 응답 (200 OK)

true
설명
trueID가 이미 존재함 (사용 불가)
falseID 사용 가능

API 테스트

On this page