I'm guessing this will be a pretty easy question for someone to answer...
I've had success making POST requests to the Query Server by putting the
payload in the request header, like so:
Key: "request"
Value: "{"request": "prepareAndExecute", "sql": "SELECT* FROM
Hi Jared,
This is just a bad error message on PQS' part. Sorry about that. IIRC,
it was something obtuse like not finding the server-endpoint for the
JSON message you sent.
If you want to do a POST and use the body, you can just put the bytes
for your JSON blob in there and that should be su
Thanks Josh. Got it working.
-Original Message-
From: Josh Elser [mailto:josh.el...@gmail.com]
Sent: Wednesday, April 6, 2016 6:10 PM
To: user@phoenix.apache.org
Subject: Re: Phoenix Query Server - proper POST body format
Hi Jared,
This is just a bad error message on PQS' part.