Thread [Mojolicious] Angular JSON via POST (11 answers)
Opened by TheFirstPerl at 2017-01-20 11:49

GwenDragon
 2017-01-20 13:45
#185886 #185886
User since
2005-01-17
14538 Artikel
Admin1
[Homepage]
user image
Code (perl): (dl )
1
2
print header(-type => "text/html"); 
print Dumper($json->{test});
liefert auch kein JSON zurück sondern eine HTML-Datei, die unformatiert Text enthält.
Das ist niemals richtig für JSON+AJAX.

Lies mal bitte http://stackoverflow.com/questions/477816/what-is-...
Last edited: 2017-01-20 13:49:16 +0100 (CET)
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread [Mojolicious] Angular JSON via POST