REST API and console app

is it possible to create a Linux console service that would generate and consume RestAPI json. i have it working in php but would prefer to use a light-weight service console app if possible. Any simple example or pointer to something would be appreciated.

thks rr

docs.xojo.com/UserGuide:Web_Services_Overview

You may want to look at aloe.zone for the older aloe express