REST API - proof of concept