Check out this example:
https://bitbucket.org/jocklawrie/skeleton-webapp.jl

On Tuesday, February 10, 2015 at 2:45:07 AM UTC+2, Eric Forgy wrote:
>
> Hello, 
>
> I would like to set up a simple server and RESTful API to run some simple 
> Julia models. I'd like to have some routing capability so was reading about 
> Morsel. It says it is Sinatra-inspired, so I also tried to read up a bit on 
> Sinatra, but it isn't very obvious to me what syntax carries over to Julia. 
>
> Could someone help provide a few more examples on GET and POST? For 
> example, how can I read parameters from a get request? How do I extract 
> info from a body? How do I insert data into a POST? I'm happy to submit PRs 
> to the doc pages for anything I learn. 
>
> Pointers to existing samples would be great. My search skills are 
> notoriously horrible :) 
>
> Best regards, 
> Eric

Reply via email to