in reply to Re^3: json return value
in thread json return value
Thank you very much. I greatly appreciate it. I get the correct value returned when I use the URL http://buzzword.org.uk/2013/json-addition.cgi but I get malformed JSON string, neither array, object, number, string or atom, at er offset 0 (before "<!DOCTYPE HTML PUBLI...") at json_client.pl line 12 when I use my own URL http://myurl.com/cgi-bin/json_mode.cgi. I have installed the server in the cgi-bin directory with permission 755 and the perl has valid syntax etc. It looks as if I cannot access the cgi file in the cgi-bin directory. Do you know a way around this?
I also see it described as text/cgi whereas some, but not all of the other cgi files are described as application/cgi. Any ideas why this is the case?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: json return value
by tobyink (Canon) on Jul 15, 2013 at 05:45 UTC | |
by stenasc (Novice) on Jul 15, 2013 at 07:42 UTC | |
by Corion (Patriarch) on Jul 15, 2013 at 07:44 UTC | |
by stenasc (Novice) on Jul 15, 2013 at 20:44 UTC | |
by poj (Abbot) on Jul 16, 2013 at 07:27 UTC | |
by stenasc (Novice) on Jul 16, 2013 at 07:50 UTC | |
by Corion (Patriarch) on Jul 16, 2013 at 07:53 UTC | |
by poj (Abbot) on Jul 16, 2013 at 08:31 UTC | |
| |
by Anonymous Monk on Jul 16, 2013 at 08:23 UTC | |
|
Re^5: json return value
by Anonymous Monk on Jul 14, 2013 at 23:44 UTC |