Changeset 76712b2 for trip-planner-front/src/app/_services
- Timestamp:
- 01/28/22 18:45:54 (3 years ago)
- Branches:
- master
- Children:
- 6fe77af
- Parents:
- b738035
- Location:
- trip-planner-front/src/app/_services
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/_services/location.service.ts
rb738035 r76712b2 61 61 } 62 62 63 getAllLocationsSearch(place : string) : Observable<Location[]>{ 64 let url="http://localhost:8080/api/all"; 65 return this.httpClient.get<Location[]>(url + "?place=" + place); 66 } 63 67 } -
trip-planner-front/src/app/_services/region.service.ts
rb738035 r76712b2 15 15 return this.httpClient.get<Region[]>(url); 16 16 } 17 18 getAllCitiesAndRegions() :Observable<string[]>{ 19 let url = "http://localhost:8080/api/places"; 20 return this.httpClient.get<string[]>(url); 21 } 17 22 }
Note:
See TracChangeset
for help on using the changeset viewer.