in reply to 400 bad request curl post

Hi,

use CGI::Carp qw(fatalsToBrowser warningsToBrowser);

Why?


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: 400 bad request curl post
by bigup401 (Pilgrim) on Dec 06, 2018 at 11:28 UTC

    i use it to output errors and warnings to a browser. when am developing web app

      I know what the module is used for, but this is your client code. What does it do here?


      The way forward always starts with a minimal test.
        His client is also a CGI script...see the last few lines.