Skip to content

0.2.32: Set Content-Type to JSON for JSON responses

Compare
Choose a tag to compare
@hkdobrev hkdobrev released this 28 Jan 10:59
· 85 commits to master since this release

Set this header:

Content-Type: application/json

so when jQuery loads the data from the AJAX it converts it to an array of objects.
Otherwise there is an error when accessing the name property.