<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">As its author, it’s my duty :P to recommend you to take a look at <a href="https://github.com/inaka/sumo_rest" class="">sumo_rest</a> on github or <a href="http://inaka.net/blog/2016/01/04/canillita-your-first-erlang-web-server-V2/" class="">our blog</a>.<div class="">It might be more than what you need, but you can probably take advantage of the examples, individual libraries (like cowboy-trails and cowboy-swagger) or even the general architecture approach there.</div><div class="">Cheers!<br class=""><div class=""><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 7, 2016, at 16:27, Vlad Dumitrescu <<a href="mailto:vladdu55@gmail.com" class="">vladdu55@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi!<div class=""><br class=""></div><div class="">I am an almost complete noob regarding this, so please excuse me if I am asking questions with obvious answers.</div><div class=""><br class=""></div><div class="">I have an application that I'd like to expose via a REST api. From what I could find quickly, in the Erlang world it looks like the main options are Webmachine and Cowboy.</div><div class=""><br class=""></div><div class="">Does anyone have any advice on which one fits better my requirements, as below?</div><div class=""><br class=""></div><div class="">- the server must be embeddable in another application, i.e. possible to start/stop without a release</div><div class="">- it must be possible to configure it to use a dynamic port value (multiple independent servers may run on the same machine)</div><div class="">- the REST API is delegating to an Erlang API, so ease of implementation would be nice :-)</div><div class="">- if it is possible to run multiple servers on the same Erlang runtime, then it would be a big plus </div><div class=""><br class=""></div><div class="">best regards,</div><div class="">Vlad</div><div class=""><br class=""></div></div>
_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></blockquote></div><br class=""></div></div></div></div></body></html>