mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2738 GitOrigin-RevId: b125043dbb9321aa8319a6dcd6e1cd6a21f4dfe1
32 lines
710 B
YAML
32 lines
710 B
YAML
actions:
|
|
- name: actionName
|
|
definition:
|
|
kind: synchronous
|
|
handler: http://localhost:3000
|
|
headers:
|
|
- value: test
|
|
name: test
|
|
timeout: 1
|
|
request_transform:
|
|
body: |-
|
|
{
|
|
"users": {
|
|
"test": {{$body.input.arg1.username}},
|
|
"v": {{$body.input.arg1.password}}
|
|
}
|
|
}
|
|
content_type: application/json
|
|
method: POST
|
|
query_params:
|
|
test: test
|
|
template_engine: Kriti
|
|
url: https://httpbin.org/post
|
|
comment: actions_test_comment
|
|
custom_types:
|
|
enums: []
|
|
input_objects:
|
|
- name: SampleInput
|
|
objects:
|
|
- name: SampleOutput
|
|
scalars: []
|