graphql-engine/server/tests-py/queries/endpoints/endpoint_simple.yaml
Solomon Bothwell d88e2bbcce server: add tests ensuring the correct functioning of all endpoints based on user roles
https://github.com/hasura/graphql-engine-mono/pull/1625

Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: 6b56efc838d2ed1acc44b2847161fde22d6aee17
2021-07-16 16:09:25 +00:00

16 lines
313 B
YAML

- description: call the new custom endpoint
url: /api/rest/simple
headers:
X-Hasura-Role: admin
method: GET
status: 200
query:
response:
test_table:
- first_name: Foo
last_name: Bar
- first_name: Baz
last_name: Qux
- first_name: X%20Y
last_name: Test