FreePascal / Lazarus example of how to create a REST API using the Lazarus FPHTTPServer. Included Several endpoints JSON data generation Custom content type header Default handler