diff options
author | Dan Timoney <dtimoney@att.com> | 2020-04-08 15:42:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-08 15:42:45 +0000 |
commit | 3f37233319629ac17430d075dd417e426929254c (patch) | |
tree | c6b48872f819057d40f730e12d776e7963cde397 /cds-ui/client/src/app/common/core/services/api.service.ts | |
parent | b3be6e54e99ba120624f9195acd5fb0c39a0f2b4 (diff) | |
parent | 7cc92c22ac6172d6b51425d8628e431350593bca (diff) |
Merge "Adding delete catalog"
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.ts | 7 |
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 |