Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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: