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

SO do you suggest I manually add a json header then simply return the string "Hello"?
  • Comment on Re^5: Need same JSON response from Mojo & CGI::App

Replies are listed 'Best First'.
Re^6: Need same JSON response from Mojo & CGI::App
by Corion (Patriarch) on Jan 04, 2017 at 11:34 UTC

    I don't know how/why adding a JSON header would change the response body you send, and I don't know where in my reply I suggested to use a header at all.

Re^6: Need same JSON response from Mojo & CGI::App
by Anonymous Monk on Jan 04, 2017 at 13:09 UTC