Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # test1.pl
    ...
    );
    print $q->header( -type => 'application/json' ),$json;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    print "Content-type: text/html\n\n";
    print $json;