[Rt-devel] http request in user-defined action

Ruslan Zakirov ruz at bestpractical.com
Fri Sep 9 16:39:28 EDT 2011


On Fri, Sep 9, 2011 at 11:44 PM, Arthur Wiebe <arthur at nerdsonsite.com> wrote:
> Nevermind, I got it working by using this code instead for the cleanup code:
>
> my $url = 'http://url/api';
> use LWP::Simple;
> my $content = get $url;
>
> return 1;
>
> Thanks! Maybe this will help someone else one day.

In case people need more info, LWP has a cookbook:

http://search.cpan.org/dist/libwww-perl/lwpcook.pod

-- 
Best regards, Ruslan.


More information about the rt-devel mailing list