# Writing a REST API with Dream

**URL:** <https://discuss.ocaml.org/t/writing-a-rest-api-with-dream/8150>\
**Category:** Ecosystem\
**Tags:** dream\
**Created:** [July 16, 2021, 3:00pm UTC](https://discuss.ocaml.org/t/writing-a-rest-api-with-dream/8150 "2021-07-16T15:00:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsthomas](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/jsthomas/32/278_2.png) [@jsthomas](https://discuss.ocaml.org/u/jsthomas)\
**Post date:** [July 16, 2021, 3:00pm UTC](https://discuss.ocaml.org/t/writing-a-rest-api-with-dream/8150/1 "2021-07-16T15:00:52Z")

</div>

I’ve written a short [blog post](https://jsthomas.github.io/ocaml-dream-api.html) about the positive experience I had using Dream to build a REST API. The accompanying source code is available here:

> **[jsthomas/sensors](https://github.com/jsthomas/sensors)**
>
> An example web server built with OCaml and the Dream web framework. - jsthomas/sensors

I’m interested in adding more examples and tutorials to the OCaml ecosystem and would be happy to get your feedback on this writeup (here or via email/github).
