<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 7, 2016 at 2:27 PM, Vlad Dumitrescu <span dir="ltr"><<a href="mailto:vladdu55@gmail.com" target="_blank">vladdu55@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>I am an almost complete noob regarding this, so please excuse me if I am asking questions with obvious answers.</div><div><br></div><div>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></blockquote><div><br></div><div>And Yaws. See <a href="http://yaws.hyber.org/">http://yaws.hyber.org/</a> .</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Does anyone have any advice on which one fits better my requirements, as below?<br></div><div><br></div><div>- the server must be embeddable in another application, i.e. possible to start/stop without a release</div><div>- it must be possible to configure it to use a dynamic port value (multiple independent servers may run on the same machine)</div><div>- the REST API is delegating to an Erlang API, so ease of implementation would be nice :-)</div><div>- if it is possible to run multiple servers on the same Erlang runtime, then it would be a big plus</div></div></blockquote><div><br></div><div>Yaws can do all this and more.</div><div><br></div><div>--steve </div></div><br></div></div>