Skip to content

Commit

Permalink
Update Invoke-GraphQLQuery.ps1
Browse files Browse the repository at this point in the history
Corrected aliased example.
  • Loading branch information
anthonyg-1 authored Aug 23, 2022
1 parent 0a93f66 commit 7061bdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PSGraphQL/Functions/Invoke-GraphQLQuery.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ function Invoke-GraphQLQuery {
Sends a GraphQL mutation to the endpoint 'https://mytargetserver/v1/graphql' with the results returned as JSON.
.EXAMPLE
gql -q 'query { users { created_at id last_seen name } }' -u 'https://mytargetserver/v1/graphql' -
gql -q 'query { users { created_at id last_seen name } }' -u 'https://mytargetserver/v1/graphql' -r
Sends a GraphQL query to an endpoint with the results returned as JSON (as a one-liner using aliases).
.LINK
https://graphql.org/
Expand Down

0 comments on commit 7061bdc

Please sign in to comment.