summaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/common/core/services/api.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/client/src/app/common/core/services/api.service.ts')
-rw-r--r--cds-ui/client/src/app/common/core/services/api.service.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/cds-ui/client/src/app/common/core/services/api.service.ts b/cds-ui/client/src/app/common/core/services/api.service.ts
index addf51ca5..af93787fd 100644
--- a/cds-ui/client/src/app/common/core/services/api.service.ts
+++ b/cds-ui/client/src/app/common/core/services/api.service.ts
@@ -30,20 +30,21 @@ export class ApiService {
constructor(private _http: HttpClient) {
}
+
get(url: string, params?: any): Observable<any> {
return this._http.get(url,params);
}
post(url: string, body: any | null, options?:any): Observable<any> {
-
return this._http.post(url, body,options);
}
+
put() {
// to do
}
- delete() {
- // to do
+ delete(url: string, params?: any): Observable<any> {
+ return this._http.delete(url,params);
}
} \ No newline at end of file