src/app/modules/shared/interfaces/requestParam.ts
Parameters for api calls
Properties |
data |
data:
|
Type : any
|
Optional |
http data |
header |
header:
|
Type : literal type
|
Optional |
http header |
param |
param:
|
Type : any
|
Optional |
http params |
url |
url:
|
Type : string
|
http data |
export interface RequestParam {
/**
* http data
*/
url: string;
/**
* http params
*/
param?: any;
/**
* http header
*/
header?: {[key: string]: string | string[]};
/**
* http data
*/
data?: any;
}