0
Hier im Versuch passieren id Wert meiner Api Bitte helfen Sie mir Wie ich pass i schrieb Code alsWie id URL in Angular 2
**StateUrl: "http://localhost:54873/Api/Home/GetStates"** This is my url i wana 2 pass it By using my value This is my code
GetStatesById(id: number): Observable<State> {
const stsurlById = `${this.StateUrl}/${id}`;
return
this._http.get(stsurlById).map(this.extractData).catch(this.handleError)
}
Hier im immer Fehler als nicht erreichbar Code dected
vielen dank es ist wirklich gut – Hussain