How to use SQL REST API - examples