restQL-http is a server to run restQL queries, making easy to fetch information from multiple services in the most efficient manner
restQL server allows you to post ad-hoc queries and to reference resources pre-configured in the server startup.
Post to http://your-server.ip:9000/run-query the body below and content-type text/plain:
curl -H "Content-Type: text/plain" localhost:9000/run-query -d "from planets as allPlanets"
The clause order matters when making restQL queries. The following is a full reference to the query syntax, available clauses and order.
[ [ use modifier = value ] ] METHOD resource-name [as some-alias] [in some-resource] [ headers HEADERS ] [ timeout INTEGER_VALUE ] [ with WITH_CLAUSES ] [ [only FILTERS] OR [hidden] ] [ [ignore-errors] ]
from search with role = "hero" from hero as heroList with name = search.results.name
Learn more about restQL query language
Copyright © 2016-2019 B2W Digital
Distributed under the MIT License.