I use GitHub CLI.
gh api graphql -f query="$(cat ./examples/queries/Me.graphql)"
gh api graphql -F user='***' -f query="$(cat ./examples/queries/UserRepositories.graphql)"
gh api graphql -F repositoryId='***' -F title='***' -f query="$(cat ./examples/mutations/CreateIssue.graphql)"