in reply to Re^4: 400 bad request curl post
in thread 400 bad request curl post
Sorry, but no, his code only implements a client with LWP and makes a request, then prints out something from the response. I think you're misunderstanding what a "CGI script" is. (Here's a recent article which, although its main point is to urge that new server-side code developed in Perl should avoid CGI.pm, provides some good terminology definitions. Note that the OP's script is not serving anything but simply trying to fetch the content of a web page.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: 400 bad request curl post
by poj (Abbot) on Dec 06, 2018 at 16:57 UTC | |
|
Re^6: 400 bad request curl post
by kschwab (Vicar) on Dec 07, 2018 at 22:55 UTC | |
by 1nickt (Canon) on Dec 08, 2018 at 12:39 UTC |