This repository provides an example of HTTP API for shevchenko library.
To start Docker container, run the following command:
docker-compose up
Open http://localhost:3000 in a web browser to verify installation.
HTTP request example:
POST http://localhost:3000/vocative
Content-Type: application/json
{
"gender": "masculine",
"givenName": "Тарас",
"patronymicName": "Григорович",
"familyName": "Шевченко"
}
HTTP response example:
{
"givenName": "Тарасе",
"patronymicName": "Григоровичу",
"familyName": "Шевченку"
}
More examples in test.http.