);
parameter content_type => (
isa => 'Str',
required => 1,
default => 'application/json',
);
parameter header_exclude => (
isa => 'HashRef',
default => sub {{}},
);
parameter
=> 10,
};
=over
=item content_type
By default the content type is set to "application/json"
=item header_exclude
Acts as a filter, will exclude any header information.
header_exclu
perform a POST request with REST::Consumer::post.
The data will the Content-Type of application/json by default.
=item Other supported HTTP methods
DELETE and PUT: delete(%params) and put(%param
);
parameter content_type => (
isa => 'Str',
required => 1,
default => 'application/json',
);
parameter header_exclude => (
isa => 'HashRef',
default => sub {{}},
);
parameter
=> 10,
};
=over
=item content_type
By default the content type is set to "application/json"
=item header_exclude
Acts as a filter, will exclude any header information.
header_exclu
perform a POST request with REST::Consumer::post.
The data will the Content-Type of application/json by default.
=item Other supported HTTP methods
DELETE and PUT: delete(%params) and put(%param