I setup Hasura and created the databases, GraphQL works great and returns all data and user related data in <25ms
What I need to know is if I can use the WebAPI to get this data as I seem to have some missing information where obviously I can’t use GraphQL in place of JSON in a API query (at least it won’t work that way on Postman and I know Postman has GraphQL features, but as Thunkable has the WebAPI, I need to submit GraphQL as one would a normal API.
{
"errors": [
{
"extensions": {
"path": "$",
"code": "parse-failed"
},
"message": "the key 'query' was not present"
}
]
}
I’m just not sure where to add the key ‘query’.
I appreciate this is somewhat off topic for the Thunkable forums, but I think these kinds of self-host super-fast databases would be very useful for people if we could make sense of them enough to create tutorials on this forum.
I wish that APIs were more standardized. The tricky thing is that each one is so different from every other. There are definitely things you can learn and then apply to other APIs but it’s almost never the case – at least for me – that you get to a place where you feel like an expert on APIs.
Even with the tutorial I made (and I’m a teacher and specifically tried to make it as broadly applicable as possible), it probably would barely have even helped you with this.
That being said, this forum is a great place to grow our knowledge and hey, maybe you’ll contribute a tutorial on this specific issue and people will benefit from that info.