A simple test server for following along with the examples in the documentation of the GraphQL Requests package.
Clone the directory.
git clone https://github.com/saltastro/graphql_requests_test_server.git;
cd graphql_requests_test_server;
Install all the required packages.
npm init
Start the server.
npm start
You can then send GraphQL queries to http://localhost:4000/.
The server logs the value of the Authorization
header and, for the createUser
mutation, the filename and MIME type of the uploaded file.