cd examples/simple
./start.sh
Then, open http://localhost:4000 in browser.
Query example:
query {
sayHello(request:{name:"GraphQL"}){
message
}
}
Result:
{
"data": {
"serverStreaming": {
"message": "Hello GraphQL!"
}
}
}
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
cd examples/simple
./start.sh
Then, open http://localhost:4000 in browser.
Query example:
query {
sayHello(request:{name:"GraphQL"}){
message
}
}
Result:
{
"data": {
"serverStreaming": {
"message": "Hello GraphQL!"
}
}
}