ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kukushkin <kukushkinale...@gmail.com>
Subject Re: Issue when executing sql query using REST API
Date Wed, 13 Sep 2017 09:12:47 GMT
Hi Ray,

Just copied your code into a simple single file sample project, ran it and
your query worked fine for me:


   1. Request URL:

   http://127.0.0.1:8080/ignite?cacheName=person&pageSize=1&qry=limit+2&cmd=qryexe&type=Person&
   2. Request Method:
   GET
   3. Status Code:
   200 OK
   4. ---------------------
   5.
   {"successStatus":0,"error":null,"response":{"items":[{"key":0,"value":{"id":0,"firstName":"John","lastName":"Doe","salary":2000.0,"organizationId":1}}],"last":false,"fieldsMetadata":[],"queryId":2},"sessionToken":null}

Mime
View raw message