angular / 11.2.14 / api / common / http / testing / requestmatch.html /

RequestMatch

interface

Defines a matcher for requests based on URL, method, or both.

interface RequestMatch {
  method?: string
  url?: string
}

Properties

Property Description
method?: string
url?: string

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/common/http/testing/RequestMatch