Closed cjstehno closed 7 years ago
It would be useful to add an any request matcher such that it would match any request method - with the ability to refine the match with the rest of the configuration (query, headers, etc).
any
server.expectations { any('/foo').responds().body('ok', TEXT_PLAIN) }
so that GET /foo and POST /foo would both be matched by this expectation.
GET /foo
POST /foo
Implemented in development.
It would be useful to add an
any
request matcher such that it would match any request method - with the ability to refine the match with the rest of the configuration (query, headers, etc).so that
GET /foo
andPOST /foo
would both be matched by this expectation.