Http get request


#1

How do I get a request through an id, example will have the list of categories / categories and i want to click in one of These categories and go to categories / {id}


#2

Wrap these 2 tutorial in one function that is trigger on click of one item of your list

<item (click)='myawesomefction(itemid)"></item>

myawesomefction(itemid){

http://www.joshmorony.com/using-http-to-fetch-remote-data-from-a-server-in-ionic-2/
http://www.joshmorony.com/a-simple-guide-to-navigation-in-ionic-2/

}


#3

I want to make a request from my rest api when i click in one item, example… when i click in a categorie i wnat to make one request to my api localhost/categories/1 and get this data