Closed ansuz closed 8 years ago
set content type as json allow cross-origin-resource-sharing
now you can fetch the data more easily from clientside js.
There should be probably utf8 encoding in content type. Even though JSON is defined as utf8 some browser will use defaults.
related: https://github.com/request/request/issues/383
They closed that with a wontfix :confused:
wontfix
set content type as json allow cross-origin-resource-sharing
now you can fetch the data more easily from clientside js.