[rt-users] Triggering an API call to external application

Alex Peters alex at peters.net
Wed Jul 16 10:44:50 EDT 2014


The cleanest way would be through a scrip, as you correctly suspected.
 Simply write Perl code to call the API in the required manner, probably
using LWP::UserAgent (or possibly WWW::Mechanize).


On 16 July 2014 21:43, pj loh <optimints at gmail.com> wrote:

> Hi,
>
> I'd like to, at the creation of a ticket, trigger an external
> application's API. The external application expects HTTP GET/ POST requests
> and returns results via the same way, so I'm wondering if it's possible to
> do that via scrips. Since there are modules such as LWP in PERL, I'm
> wondering if I can use that, but I'd like to see if this has been done (and
> how).
>
> Can anyone point me in the right direction if this is possible?
>
> Thanks,
> PJ
>
> --
> RT Training - Boston, September 9-10
> http://bestpractical.com/training
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140717/062799fc/attachment.htm>


More information about the rt-users mailing list