mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
17 lines
228 B
YAML
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
|
||
|
}
|
||
|
}
|