Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
PERL RESTLet API (using SuiteTalk 2.0, not WebService::NetSuite)
All FYI:
I am experimenting with connecting PERL to NetSuite using RESTLets: the early results are extremely encouraging. Here is all that was required on the PERL side:
----------------------------------------
#!/usr/local/bin/perl
use 5.14.0;
use Mojo::UserAgent;
my $ua = Mojo::UserAgent->new;
my $url = 'https://rest.na2.netsuite.com/app/site/hosting/restlet.nl?'.
'script=97&deploy=1';
my $auth = 'NLAuth nlauth_account=TSTDRVxxxx, '.
'nlauth_email=ss2.xxxxx@netsuite.com, '.
'nlauth_signature=training1, '.
'nlauth_role=3';
say $ua->get($url => {Authorization => $auth})->res->body;
--------------------------------------
and here is the RESTLet: