Able to return the JSON content using Perl CGI header with status as 200.
But when I try to return JSON content using Perl CGI header with status "400 Bad Request". Its not coming as application/json content instead its coming as html.
Could someone help on this?