MCPcopy Create free account
hub / github.com/gavv/httpexpect / PATCH

Method PATCH

expect.go:650–652  ·  view source on GitHub ↗

PATCH is a shorthand for e.Request("PATCH", path, pathargs...).

(path string, pathargs ...interface{})

Source from the content-addressed store, hash-verified

648
649// PATCH is a shorthand for e.Request("PATCH", path, pathargs...).
650func (e *Expect) PATCH(path string, pathargs ...interface{}) *Request {
651 return e.Request(http.MethodPatch, path, pathargs...)
652}
653
654// DELETE is a shorthand for e.Request("DELETE", path, pathargs...).
655func (e *Expect) DELETE(path string, pathargs ...interface{}) *Request {

Callers 1

TestExpect_RequestsFunction · 0.80

Calls 1

RequestMethod · 0.95

Tested by 1

TestExpect_RequestsFunction · 0.64