Skip to content

Instantly share code, notes, and snippets.

@adamglauser
Last active March 22, 2016 17:19
Show Gist options
  • Save adamglauser/edebba43a009d4fd29b3 to your computer and use it in GitHub Desktop.
Save adamglauser/edebba43a009d4fd29b3 to your computer and use it in GitHub Desktop.
Notes about C++ REST service setup search
Started by searching for how to create REST service with Apache
Lots of Tomcat/Jersey results
Focussed on C++, try to avoid complex framework
Hit on the idea of embedded HTTP server
Mongoose (https://www.cesanta.com/products/mongoose) looks promising
Also, this page (http://en.cppreference.com/w/cpp/links/libs) has a bunch of REST-related libraries in the communication section
This StackOverflow (http://stackoverflow.com/questions/25057819/how-to-create-restful-web-services-using-c-language-and-json-parser),
which also pointed me at Mongoose, also has some other suggestions I should investigate
RESTBed
Casablanca
RestfulMapper
SimpleREST
Apache Axis is another alternative
After doing some quick searching and reading,
Axis seems overly complex for my needs
requires Apache
setup seems clunky
Casablanca
seems popular
cross platform
is on github
setup seems straightforward (on Ubuntu at least), also seems to have Debian package
open source
listener is 'experimental'; seems focussed on client-side
Mongoose
Seems really simple to get started
is on github
open source/commercial dual license
doesn`t seem to have a package, but maybe one is not needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment