We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 31e2500 + 37430c1 commit 47be331Copy full SHA for 47be331
app/cli.go
@@ -359,7 +359,7 @@ func (b body) checkResponseBody(body string) error {
359
// validates if the HTTP request method is supported
360
func (t test) validateRequestMethod() error {
361
switch strings.ToUpper(t.Request.Method) {
362
- case "GET", "POST", "PUT":
+ case "GET", "POST", "PUT", "DELETE":
363
return nil
364
}
365
return fmt.Errorf("http method '%s' is not supported", t.Request.Method)
0 commit comments