Example #1
0
 public options(url: string, paramMap?: any): Observable<Response> {
   return this.http.options(url, new RequestOptions({
     search: HttpService.buildURLSearchParams(paramMap),
     headers: new Headers({
       'token': this.globalData.token
     })
   }));
 }
Example #2
0
 return this.getData(url, options, (url: string, options: RequestOptionsArgs) => {
     return this.http.options(url, options);
 });
Example #3
0
 options(url: string, options?: RequestOptionsArgs) {
     options = this.getOptions(options);
     return this.http.options(url, options);
 }