Expand verbs allowed for proxying
Adds additional verbs as per g/w and watchdog
@@ -40,8 +40,11 @@ func MakeProxy(functionNamespace string, timeout time.Duration) http.HandlerFunc
}
switch r.Method {
- case http.MethodGet,
- http.MethodPost:
+ case http.MethodPost,
+ http.MethodPut,
+ http.MethodPatch,
+ http.MethodDelete,
+ http.MethodGet:
vars := mux.Vars(r)
service := vars["name"]
