|Perl: the Markov chain saw|
Re^6: json return valueby stenasc (Novice)
|on Jul 15, 2013 at 20:44 UTC||Need Help??|
Yes...it gives me this..
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, firstname.lastname@example.org and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
However if I have a small cgi like the following, it works fine when accessed through the browser
I've been in contact with the server administrator and he sent me the log file results.
He also suggested that I add the following to the code, but that is already in the code He also told me that it was because the script wasn't outputting valid html headers.
print("Content-type: text/json"); or print("Content-type:application/json");
The client is working fine because I can get the correct response from http://buzzword.org.uk/2013/json-addition.cgi'