REST API for Postfix SQL