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}
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){
Using Http to Fetch Remote Data from a Server in Ionic 2 & 3 | Josh Morony
A Simple Guide to Navigation in Ionic | Josh Morony
}
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