Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 419 Bytes

README.MD

File metadata and controls

21 lines (18 loc) · 419 Bytes

100 days of code

Run local php server

php -S localhost:8080 server.php

OR

Run local node server

yarn dev

Try query

curl -d '{"query": "query { echo(message: \"Hello World\") }" }' -H "Content-Type: application/json" http://localhost:8080

Try mutation

curl -d '{"query": "mutation { sum(x: 2, y: 2) }" }' -H "Content-Type: application/json" http://localhost:8080