graphql-engine/server/tests-py/queries/endpoints/endpoint_simple_wrong_method.yaml
Lyndon Maydwell 0767333597 server: support restified versions of graphql queries (#303)
Restified GraphQL Endpoints feature.

GitOrigin-RevId: 3d6e589426ec21a60a915b47f579f0ac4934af45
2021-01-29 01:03:35 +00:00

10 lines
217 B
YAML

- description: call the new custom endpoint with the wrong method
url: /api/rest/simple
method: DELETE
status: 405
query:
response:
path: $
error: 'Allowed methods: GET'
code: method-not-allowed