import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; @Injectable({ providedIn: 'root' }) export class AppService { constructor(private http: HttpClient) { } // getIndustrySegmentHierarchy() { // return this.http.get('http://131.163.160.58:9006/GRM/api/V1/File/fileUploadSideList/'); // } // getDocuments() { // return this.http.get('http://131.163.160.58:9006/GRM/api/V1/File/files/279/'); // } // getAPIs(api) { // return this.http.get(api); // } // getUploadTags() { // return this.http.get('http://131.163.160.58:9006/GRM/api/V1/File/fileUploadMetaData/'); // } // uploadFile(req, id?) { // return this.http.post('http://131.163.160.58:9006/GRM/api/V1/File/fileUpload/' + id + '/', req); // } // editFile(req, id?) { // return this.http.put('http://131.163.160.58:9006/GRM/api/V1/File/' + id + '/', req); // } // deleteObj(id) { // return this.http.delete('http://131.163.160.58:9006/GRM/api/V1/File/' + id + '/'); // } // filterData(obj) { // return this.http.post('http://131.163.160.58:9006/GRM/api/V1/File/files/279/', obj); // } }