Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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: