From 1d7f2f128ce0b50158dd9e6e563b626c4b6b4ec3 Mon Sep 17 00:00:00 2001 From: sj108s Date: Tue, 8 May 2018 15:23:57 +0530 Subject: added code to allow headers in request changed http util service to allow headers in the api request Issue-ID: APPC-885 Change-Id: Ia85148eefdc217011155099b33ac39cc638dd734 Signed-off-by: sj108s --- src/app/shared/services/httpUtil/http-util.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/services/httpUtil/http-util.service.ts b/src/app/shared/services/httpUtil/http-util.service.ts index 33b3c9e..43e6d4f 100644 --- a/src/app/shared/services/httpUtil/http-util.service.ts +++ b/src/app/shared/services/httpUtil/http-util.service.ts @@ -32,7 +32,7 @@ export class HttpUtilService { private password = require('../../../cdt.application.properties.json').password; constructor(private http: Http) { this.headers = new Headers({ 'Content-Type': 'application/json' }); // ... Set content type to JSON - // this.options = new RequestOptions({headers: this.headers}); // + this.options = new RequestOptions({headers: this.headers}); // } get(req) { -- cgit 1.2.3-korg