Browse Source

Chage JSON payload to prevent errors with parsing (#1229)

main
kh0ma 6 years ago
committed by Alex Krolick
parent
commit
fc83f24358
  1. 6
      content/docs/faq-ajax.md

6
content/docs/faq-ajax.md

@ -22,9 +22,9 @@ The example API returns a JSON object like this:
```
{
items: [
{ id: 1, name: 'Apples', price: '$2' },
{ id: 2, name: 'Peaches', price: '$5' }
"items": [
{ "id": 1, "name": "Apples", "price": "$2" },
{ "id": 2, "name": "Peaches", "price": "$5" }
]
}
```

Loading…
Cancel
Save