mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Adding Fn invoke endpoint that works just like triggers endpoint (#1168)
This commit is contained in:
@@ -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")}
|
||||
|
||||
Reference in New Issue
Block a user