Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 549 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 549 Bytes

Simple REST API Service in C++

This is a sample application that is used in this Medium story.

Installation

Prerequsites

Building

cd build
cmake ../ && make

Then execute:

../build/cpprestserver

Try:

curl "http://localhost:8123/api/v1/greeting?name=world"

The output should be:

{ "content": "Hello, world" }