# gRPC로 구현하고 REST API로 노출하기

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

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=4178](https://news.hada.io/topic?id=4178)
- GeekNews Markdown: [https://news.hada.io/topic/4178.md](https://news.hada.io/topic/4178.md)
- Type: news
- Author: [kkweon](https://news.hada.io/@kkweon)
- Published: 2021-05-03T02:17:21+09:00
- Updated: 2021-05-03T02:17:21+09:00
- Original source: [deepbaksu.github.io](https://deepbaksu.github.io/2021/05/01/how-to-REST-from-gRPC/)
- Points: 15
- Comments: 0

## Topic Body

gRPC를 사용하더라도 REST가 보편적이기 때문에 REST API를 구현해줘야 할 필요가 있다.

예를 들어, Heroku에서는 HTTP/2 를 지원하지 않기 때문에 gRPC 를 사용할 수 없어, 어쩔 수 없이 HTTP/1.1 REST API를 노출해줘야 한다.

gRPC로 구현하고 gRPC Gateway를 통해 REST API와 Swagger UI를 expose한 이야기.

## Comments



_No public comments on this page._
