Answer the question
In order to leave comments, you need to log in
Which c/c++ framework to choose for REST API implementation?
It is necessary to do Java (specifically restlet)!!!
I try lwan , but somehow it is so-so.
Is there a convenient, fast and efficient way to implement a REST API in c/c++?
Answer the question
In order to leave comments, you need to log in
EDIT: I recommend Boost.Beast as of today - one of the more mature solutions in the pros.
Old answer:
Try the C++ Network Library ( on github ) - the project is quite young, but it has very interesting functionality and a lot of convenient abstractions, there are implementations of the URI, HTTP client and server. In fact, this is a wrapper over boost.asio, which allows you not to write a web server and client from scratch. Requires C++11.
In addition, if there are requirements for reliability / load, then it is better to deal with a proven web server, and then you should look towards FastCGI - then some nginx or Apache will look at the Internet, and your application will receive requests via FastCGI from web server. Libraries for C++there are .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question