Change url to /:database/query. Replace table_name, schema_name, index_name, database with the appropriate SQL query name in JSON body.