in reply to Re^2: Need same JSON response from Mojo & CGI::App
in thread Need same JSON response from Mojo & CGI::App

You haven't told us which result you need on the receiving side.

Only "hello" ?

Since JSON is an (JS) Object Notation I'm not sure if blank strings (i.e. nonref) are legal.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!