added code to allow headers in request 75/46575/2
authorsj108s <sj108s@us.att.com>
Tue, 8 May 2018 09:53:57 +0000 (15:23 +0530)
committerRanda Maher <rx196w@att.com>
Tue, 8 May 2018 14:06:49 +0000 (14:06 +0000)
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>
src/app/shared/services/httpUtil/http-util.service.ts

index 33b3c9e..43e6d4f 100644 (file)
@@ -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) {