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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Script call to Digest Authenticated site?
I am trying to figure out a way to send an HTTP GET to a site and parse the data back into a few fields. Very much like Yang's StrikeIron samples.
The issue I have is that the site requires Digest Authentication. There are several javascript examples on the net that show how to create the MD5 hash required to use Digest. I am calling nlapiRequestURL() and then trying to extract the authentication headers from the response.
So far I have been able to get the 401 response from a client script, but I can't find a way to get the MD5 challenge from it using any of the available NS API's. .getCode() does show the 401, but nothing else. .getHeaders() returns only the Realm. The other headers are not returned