Hi all, I'm trying to send an XML file to Maventa ...
# suitescript
d
Hi all, I'm trying to send an XML file to Maventa (a 3rd party site) through a custom plugin. Is N/https supported in plugins? or what would be the call to POST in the plugin?
b
depends on what suitescript version is supported by the plugin
if its 1.0, then you use nlapiRequestURL instead
d
@battk the plug-in script I’m modeling it off of (sends email instead of to site) uses 2.0. But when I try to add the N/https module it has an “unknown error”
b
what does the code look like
d
@battk I removed the header values but this code leads to the error EI_SENDING_PLUG_IN_ERROR: undefined