Skip to content
Snippets Groups Projects
Commit cf586d5f authored by Olabarrieta Palacios, Ignacio's avatar Olabarrieta Palacios, Ignacio
Browse files

new service to get trip OD

parent 3ea1b9cf
No related branches found
No related tags found
No related merge requests found
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { ConfigService } from '@ngx-config/core';
import { Observable } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class GetLinesService{
private apiURL: any;
constructor(configService: ConfigService,private http:HttpClient) {
this.apiURL = configService.getSettings("bus_od_api_base_url");
}
getValues(): Observable<any> {
return this.http.get<any>(`${this.apiURL}/webresources/getData/getLines/`);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment