Your code has syntax errors and does not compile. Please help us help you by making your problem reproducible.
What server are you using to host this service? How is it set up? Which exact response (including all headers) are you receiving in both cases?
In reply to Re^3: Perl CGI return 400 Bad request response with JSON content
by Anonymous Monk
in thread Perl CGI return 400 Bad request response with JSON content
by dineshyagappan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |