Ignore:
Timestamp:
01/28/22 18:45:54 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
6fe77af
Parents:
b738035
Message:

search all locations by city or region

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/src/app/_services/region.service.ts

    rb738035 r76712b2  
    1515        return this.httpClient.get<Region[]>(url);
    1616    }
     17
     18    getAllCitiesAndRegions() :Observable<string[]>{
     19        let url = "http://localhost:8080/api/places";
     20        return this.httpClient.get<string[]>(url);
     21    }
    1722}
Note: See TracChangeset for help on using the changeset viewer.