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

documentation.xojo.com/topics/communication/internet/accessing_web_services.html

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