Answers for "angular httpclient query params not working"

0

angular httpclient query params not working

getLogs(logNamespace): Observable<any> {

    // Setup log namespace query parameter
    let params = new HttpParams().set('logNamespace', logNamespace);

    return this._HttpClient.get(`${API_URL}/api/v1/data/logs`, { params: params })
}
Posted by: Guest on December-29-2020

Code answers related to "angular httpclient query params not working"

Code answers related to "Javascript"

Browse Popular Code Answers by Language