RequestOptionsArgs
Interface for options to construct a RequestOptions, based on RequestInit from the Fetch spec.
Deprecated: see https://angular.io/guide/http
interface RequestOptionsArgs {
url?: string | null
method?: string | RequestMethod | null
search?: string | URLSearchParams | {...}
params?: string | URLSearchParams | {...}
headers?: Headers | null
body?: any
withCredentials?: boolean | null
responseType?: ResponseContentType | null
}
Properties
Property | Description |
---|---|
url?: string | null
|
|
method?: string | RequestMethod | null
|
|
search?: string | URLSearchParams | {
[key: string]: any | any[];
} | null
|
|
params?: string | URLSearchParams | {
[key: string]: any | any[];
} | null
|
|
headers?: Headers | null
|
|
body?: any
|
|
withCredentials?: boolean | null
|
|
responseType?: ResponseContentType | null
|