graphql-engine/server/tests-py/queries/unauthorized_role/unauthorized_role.yaml
2020-05-22 14:40:57 +05:30

17 lines
228 B
YAML

description: Make request with role header value as admin
url: /v1/graphql
status: 200
headers:
X-Hasura-Role: 'admin'
response:
data:
user:
- id: 3
query:
query: |
query {
user{
id
}
}