From 6cd873e6e13e71fd84e6175b40815d4e665dc31d Mon Sep 17 00:00:00 2001 From: nwillhoft <70575561+nwillhoft@users.noreply.github.com> Date: Mon, 15 Apr 2024 15:47:14 +0100 Subject: [PATCH] Print out response content in docs, rather than response status and reason --- root/documentation/examples/perl.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/documentation/examples/perl.tt b/root/documentation/examples/perl.tt index 63cb5e89..d59aa560 100644 --- a/root/documentation/examples/perl.tt +++ b/root/documentation/examples/perl.tt @@ -54,7 +54,7 @@ if(length $response->{content}) { print "\n"; } [% ELSE %] -print "$response->{status} $response->{reason}\n"; +print "$response->{content}\n"; [% END -%] [% END %] </pre> -- GitLab