diff options
author | sj108s <sj108s@us.att.com> | 2018-05-08 15:23:57 +0530 |
---|---|---|
committer | Randa Maher <rx196w@att.com> | 2018-05-08 14:06:49 +0000 |
commit | 1d7f2f128ce0b50158dd9e6e563b626c4b6b4ec3 (patch) | |
tree | a57668a4850267c7efe2b47f2de03545055ef23e /src/app | |
parent | 8796570b4efc438680aaa2b7fb5117d7610960cb (diff) |
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 <sj108s@us.att.com>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/shared/services/httpUtil/http-util.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |