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

pj loh optimints at gmail.com
Wed Jul 16 20:20:55 EDT 2014


Hi Alex,

Thanks. Will look into these

PJ


On 16 July 2014 22:44, Alex Peters <alex at peters.net> wrote:

> 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/007090c7/attachment.htm>


More information about the rt-users mailing list