Request with positional parameters

Request with positional parameters

Request:

 $ curl -v http://localhost:8093/query/service \
-d 'statement=SELECT text FROM tweets WHERE rating = $1 AND when > $2&args=[ 9.5, "1-1-2014"]'
  
Response:

         < HTTP/1.1 200 OK
         {
         "requestID": "11ed1984-7802-4fc2-acd6-dfcd1c05a288",
         "signature": {
         "text": "json"
         },
         "results": [
         {
         "text": "Couchbase is my favorite database"
         }
         ],
         "status": "success",
         "metrics": {
         "elapsedTime": "3.455608ms",
         "executionTime": "3.116241ms",
         "resultCount": 1,
         "resultSize": 65,
         "mutationCount": 0,
         "errorCount": 0,
         "warningCount": 0
         }
         }
         $