Help for this page

Select Code to Download


  1. or download this
    plackup -MPlack::Request -MDDP -e'my $app = sub { my ($env) = @_; my $
    +req = Plack::Request->new($env); p $req->parameters; p $req->uploads;
    + return [200,[],[]]; };'
    
  2. or download this
    curl -v -F somekey=somevalue -F upload=@somefile http://localhost:5000
    
  3. or download this
    POST / HTTP/1.1
    Host: localhost:5000
    ...
    Server: HTTP::Server::PSGI
    Content-Length: 0
    
  4. or download this
    Hash::MultiValue  {
        public methods (24) : …
    ...
        }
    }
    127.0.0.1 - - [14/Jun/2019:09:22:11 +0200] "POST / HTTP/1.1" 200 0 "-"
    + "curl/7.65.0"