From c3935785c04b0993bbcbf300d502f62f6669ce62 Mon Sep 17 00:00:00 2001 From: Kevin Scott Adams Date: Tue, 14 Jul 2020 17:32:53 -0400 Subject: [PATCH] Update comments/doc of the methods changes - Just a change to two doc of 'GET' and 'DELETE' method subs. --- perl5/REST/Client.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl5/REST/Client.pm b/perl5/REST/Client.pm index 1b23167..a6c1aea 100644 --- a/perl5/REST/Client.pm +++ b/perl5/REST/Client.pm @@ -225,7 +225,7 @@ They can be combined with the response methods, such as: print $client->GET('/search/?q=foobar')->responseContent(); -=head3 GET ( $url, [%$headers] ) +=head3 GET ( $url, [$body_content, %$headers] ) Preform an HTTP GET to the resource specified. Takes an optional hashref of custom request headers. @@ -269,7 +269,7 @@ sub POST { return $self->request('POST', @_); } -=head3 DELETE ( $url, [%$headers] ) +=head3 DELETE ( $url, [$body_content, %$headers] ) Preform an HTTP DELETE to the resource specified. Takes an optional hashref of custom request headers.