Adding Fn invoke endpoint that works just like triggers endpoint (#1168)

This commit is contained in:
Tom Coupland
2018-08-13 10:01:52 +01:00
committed by GitHub
parent 501b0776bb
commit 79a7308a17
6 changed files with 628 additions and 3 deletions

View File

@@ -27,6 +27,10 @@ var (
error: errors.New("Timed out - server too busy"),
}
ErrUnsupportedMediaType = err{
code: http.StatusUnsupportedMediaType,
error: errors.New("Content Type not supported")}
ErrMissingID = err{
code: http.StatusBadRequest,
error: errors.New("Missing ID")}