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!
nlapiRequestURL response encoding
Does nlapiRequestURL allow you to change the "Accept-Encoding" header? I'm making some calls to web services that return JSON and it appears that either nlapiRequestURL doesn't send the custom "Accept-Encoding" header I pass to it, or the web services don't honor the received "Accept-Encoding" header, as the response is always the same from each web service. One web service returns uncompressed data and the other returns compressed data, regardless of the "Accept-Encoding" header sent.
Uncompressed response:
http://api.feedzilla.com/v1/cultures.json
Compressed (deflate) response:
https://api.wunderground.com/api/d15f79daf3e2427c/conditions/q/12345.json
:h_a_w: