1import { HttpClient, HttpHeaders, HttpParams, } from '@angular/common/http';
2import { Observable } from 'rxjs';
3import { map } from 'rxjs/operators';
4
5
6
7sendMsz(obj):Observable<any> {
8 return this.http.get(this.urlSer.url,{responseType:'text', params:params, observe: 'response'}).pipe(map(data => {
9
10 console.log("Here will be return response code Ex :200", data.status)
11 return data.status
12 }));
13}