Skip to content
Discussion options

You must be logged in to vote

Hey @Tristangva

If I am correct, this - https://example.com/check would be your webhook/action handler for your action right ?

Request URL transform

Acc. to your use case, you can use "Request URL" transform in your action. Reference - https://hasura.io/docs/latest/actions/rest-connectors/#request-url

So if you want to have param1 to have value supplied from your request's body input say arg1, you can supply query param under "Change Request Options" section while creating action via console.

See attached screenshot

So your GraphQL mutation would look like

mutation MyMutation {
  testAction(arg1: {value: "value123"}) {
    name
  }
}

where testAction is my action. And upon hitting your e…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tristangva
Comment options

Answer selected by Tristangva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants