# REST API 가이드 라인

> Clean Markdown view of GeekNews topic #1636. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=1636](https://news.hada.io/topic?id=1636)
- GeekNews Markdown: [https://news.hada.io/topic/1636.md](https://news.hada.io/topic/1636.md)
- Type: news
- Author: [gwanryo](https://news.hada.io/@gwanryo)
- Published: 2020-03-04T08:16:29+09:00
- Updated: 2020-03-04T08:16:29+09:00
- Original source: [stackoverflow.blog](https://stackoverflow.blog/2020/03/02/best-practices-for-rest-api-design/)
- Points: 11
- Comments: 0

## Topic Body

stackoverflow에서 말하는 REST API의 좋은 예시

총 9가지의 rule로 구성되어 있고, Node.js로 예시를 들었습니다.

- JSON으로 응답할 것

- endpoint 경로에 동사 대신 명사를 쓸 것

- Collections의 이름은 복수명사로 지을 것

- 표준 error code를 활용해 에러를 처리할 것

등이 있습니다.

## Comments



_No public comments on this page._
