index.html
1.91 KB
select2_ajax
Edited- json-server -> db.json
{
"posts": [
{
"id": 1,
"title": "json-server1",
"author": "typicode"
},
{
"id": 2,
"title": "json-server2",
"author": "typicode"
},
{
"id": 3,
"title": "json-server3",
"author": "typicode"
},
{
"id": 4,
"title": "json-server4",
"author": "typicode"
}
],
"comments": [
{
"id": 1,
"body": "some comment",
"postId": 1
}
],
"profile": {
"name": "typicode"
}
}
Please
register
or
sign in
to comment