Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom response to source #1605

Merged
merged 20 commits into from
May 28, 2023
Merged

Conversation

danvixent
Copy link
Collaborator

No description provided.

danvixent and others added 4 commits May 24, 2023 13:24
* update: add convertstringtojson function to general service

* update: update monaco to accept custom class

* feat: allow custom response setup for incoming sources

* chore: remove console.log

* update: ui fixes
@horlah
Copy link
Contributor

horlah commented May 26, 2023

@Oluwadaminiola You can remove the supposed link to the custom response documentation here, we don't have any documentation for it.

cc @subomi

horlah and others added 5 commits May 26, 2023 18:37
@danvixent danvixent force-pushed the daniel/fix/add_custom_response_to_source branch from d480d99 to cfb2cf7 Compare May 26, 2023 19:03
Copy link
Collaborator

@subomi subomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danvixent, @horlah FYI

  1. Updating a source does not update the custom response body.
  2. The update source form does not show the previously added response body but the previously added response content type.

@subomi subomi merged commit 7b4de4f into main May 28, 2023
@subomi subomi deleted the daniel/fix/add_custom_response_to_source branch May 28, 2023 19:42
@qbx2
Copy link

qbx2 commented Mar 8, 2024

EDIT: I opened an issue: #1947

Hello. Is it possible to template response using request header values? I want to solve okta's one-time verification request (https://developer.okta.com/docs/concepts/event-hooks/#one-time-verification-request) using convoy, but the challenge requires to respond with header value (x-okta-verification-challenge) . FYI, Okta requests with GET method for that challenge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants