Simple REST API for Raspberry Pi with FreeBSD

My previous web application for control GPIO was monolithic.
This mean that server-side and client-side was in one script.
But modern Web application going to be dynamic with Representational State Transfer (REST).

Here is a description of a simple REST API service for Raspberry Pi with FreeBSD.
Continue reading