You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
success의 경우 꼭 필요하다고 생각한 이유가, 프론트가 직접 HTTP상태코드를 확인하고, 자체적으로 성공인지 여부를 판단할 수도 있겠지만, JSON 내에서 true/false의 boolean값만 판단하고 바로 response/error로 분기점을 만들 수 있어서 생산성이 더 높아지지 않을까 했습니다..!
(실제로 카카오에서도 위의 문서와 유사한 형태로 API Response Format을 사용중입니다. 아래 링크 첨부했습니다~)
(https://docs.kakaoi.ai/kakao_work/webapireference/commonguide/)
문서 상세 조회 API SPEC
Request
Response
Success
Fail
404 NOT_FOUND
The text was updated successfully, but these errors were encountered: