MATSUNO★Tokuhiro > HTTP-Body-Builder > HTTP::Body::Builder::UrlEncoded

Download:
HTTP-Body-Builder-0.03.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

HTTP::Body::Builder::UrlEncoded - application/x-www-encoded

SYNOPSIS ^

    use HTTP::Body::Builder::UrlEncoded;

    my $builder = HTTP::Body::Builder::UrlEncoded->new();
    $builder->add('x' => 'y');
    $builder->as_string;
    # => x=y

METHODS ^

my $builder = HTTP::Body::Builder::UrlEncoded->new()

Create new instance of HTTP::Body::Builder::UrlEncoded.

$builder->add_content($key => $value);

Add new parameter in raw string.

$builder->as_string();

Generate body as string.

syntax highlighting: