- Download and install ChromeiQL
composer install
php -S localhost:8000 graphql.php
- In ChromeiQL set http://localhost:8000 as the endpoint
- Click on Docs in the top right to explore the ProfileQuery data model. Only the documentation works currently.
Send profile input
curl http://localhost:8000 -d '{"query": "mutation { profiles(params: {id: 1, Names:[{id: 123, source: 10, FirstName: \"Dan\"}]} ) }" }'
View errors for an invalid input
curl http://localhost:8000 -d '{"query": "mutation { profiles(params: {id: 1, Names:[{idd: 123, source: 10, FirstName: \"Dan\"}], EmailAddresses:[{id:22, source: 11, EmailAddress: \"dancrowdskoutcom\"}]} ) }" }'