object map of the http parameters mutually exclusive with fromString code example
Example 1: object map of the http parameters mutually exclusive with fromString
let httpParams = new HttpParams({ fromObject: { aaa: 111, bbb: 222 } });
Example 2: object map of the http parameters mutually exclusive with fromString
getCountries(data: any) {
return this.httpClient.get("/api/countries", {params: data})
}