Possible duplicate:
What is the correct JSON content type?
I have a problem on json, it only displays "Content-Type: text / html". I am testing on localhost and my online code is
header('Access-Control-Allow-Origin: *');
header('Content-Type: application/javascript');
//header('Content-type: text/javascript');
//header('Content-type: application/json');
source
share