Closed brunocalza closed 7 months ago
Implements the POST /query spec defined at https://github.com/tablelandnetwork/docs/pull/188
POST /query
Working example on staging
staging
curl -v --json '{"statement": "SELECT * FROM system_txn_receipts LIMIT 1"}' https://staging.tableland.network/api/v1/query
cc @dtbuchholz
We're adding support for POST /query so queries can be sent via body request without the need of encoding the URL.
Generates the code based on a new spec and implements the controller in a similar way to GET /query.
GET /query
Summary
Implements the
POST /query
spec defined at https://github.com/tablelandnetwork/docs/pull/188Working example on
staging
cc @dtbuchholz
Context
We're adding support for
POST /query
so queries can be sent via body request without the need of encoding the URL.Implementation overview
Generates the code based on a new spec and implements the controller in a similar way to
GET /query
.