Hello @teodor ,
how can execute GraphQL Queries from within wappler API connector,
example GraphQL ;
{
allCdrs {
cdrs {
id
src
accountcode
calldate
billsec
timestamp
duration
disposition
outbound_cnum
linkedid
}
}
}
can you guide me ?
I don’t really understand your question Serhat.
What exactly do you need to do with this data?
We don’t have a query builder for GraphQL. The query for GraphQL is normally a simple GET or POST, that is possible with the API connector.
Request will look like:
GET http://myapi/graphql?query={allCdrs{cdrs{id+src+accountcode+calldate+billsec+timestamp+duration+disposition+outbound_cnum+linkedid}}}
See https://graphql.org/learn/serving-over-http/ .
3 Likes
yes working with API CONNECTOR …
thanks @patrick @Teodor
1 Like
nevil
June 25, 2019, 10:59pm
5
Would like to see query builder support in wappler for graphql. Shopify’s apis for instance are eventually going to be entirely graphql based. And some of their apis already work exclusively with graphql.
3 Likes
nevil
July 14, 2019, 11:05am
6
Just noticed that Postman started integrating graphql:
Just a heads up for the team, might be more of a reason to integrate it in the future