pistache

Modern C++17 HTTP and REST framework for building web services

brewmacoslinux
Try with needOr install directly
Source

About

Modern, fast, elegant HTTP + REST C++17 framework with pleasant API

Commands

pistache

Examples

Create a simple HTTP server listening on port 9080$ pistache-server --port 9080
Build a REST API endpoint with Pistache in your C++ project$ g++ -std=c++17 -o server server.cpp -lpistache -pthread
Include Pistache headers in a C++ application for HTTP routing$ echo '#include <pistache/endpoint.h>' | g++ -std=c++17 -x c++ -lpistache - -o test