You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
A better function signature would be to have a function that has as input the body and headers of some request, and as output what should be sent as a result.
The text was updated successfully, but these errors were encountered:
No, if you don't use express it's extremely difficult to get the webhooks working. I got it working by reverse engineering the express code and writing/copy/pasting parts of it myself, omitting some crucial features to get it working.
Ideally the webhooks don't assume express or any framework, just return some promises that you can deal with yourself and provide an express example.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you don't use express, it's nearly impossible to use webhooks, because the webhook functionality assumes express responses:
kin-node/src/webhook/index.ts
Line 282 in 91cb711
A better function signature would be to have a function that has as input the body and headers of some request, and as output what should be sent as a result.
The text was updated successfully, but these errors were encountered: