graphql "hello world"
➜ soapbox-be git:(graphql) curl -X POST -H 'content-type: application/json' -d '{ "query": "query { hello { text } }" }' http://localhost:4000/api/graphql | jq .
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 74 100 35 100 39 89 99 --:--:-- --:--:-- --:--:-- 188
{
"data": {
"hello": {
"text": "world"
}
}
}