angular / in-memory-web-api

The code for this project has moved to the angular/angular repo. This repo is now archived.
MIT License
1.18k stars 231 forks source link

post a new value for an array #262

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi I have something like this mock data: users = [ { "id":"1", "name":"Cesare", "children":[ {"name":"Adriano"}, {"name":"Claudio"} ] }, ... ]

I want add an item to children array, how can I do? Thanks