Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

HTTP Webhook as Function Type/Trigger #134

Open
marktani opened this issue Jan 23, 2018 · 3 comments
Open

HTTP Webhook as Function Type/Trigger #134

marktani opened this issue Jan 23, 2018 · 3 comments

Comments

@marktani
Copy link
Contributor

Issue by marktani
Friday Aug 25, 2017 at 12:02 GMT
Originally opened as https://github.com/graphcool/prisma/issues/354


allow Graphcool Functions that would be triggered by HTTP requests.

@marktani
Copy link
Contributor Author

Comment by albert-tse
Friday Aug 25, 2017 at 15:33 GMT


Thanks @marktani It would be really nice to have this

@marktani
Copy link
Contributor Author

Comment by kbrandwijk
Friday Aug 25, 2017 at 23:01 GMT


So basically, built-in webtask.io?

@marktani
Copy link
Contributor Author

Comment by kbrandwijk
Saturday Oct 14, 2017 at 11:33 GMT


As function exexution has now moved to AWS, and the project file has matured a lot, I think the steps to achieve this now are minimal.

I would propose adding another function type to the project definition, something like endpoint or something (needs a better term). Those functions would be available directly through https://api.graph.cool/simple/v1/c......./functionName. They probably also need a HTTP method (get/post).

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

No branches or pull requests

1 participant