@NSN - Maybe some header is missing. Remember had simillar problem and we had to add user-agent header.
n
NSN
08/29/2018, 2:47 PM
Hi lukasz
NSN
08/29/2018, 2:47 PM
Thanks for the reply. I have tried the following :
response.addHeader( “Access-Control-Allow-Origin”, “*” );
response.addHeader( “Access-Control-Allow-Methods”, “GET,POST” );
response.addHeader( “Access-Control-Max-Age”, “1000" );
NSN
08/29/2018, 2:49 PM
Nothing worked. Can you look into that . I think I am missing something.
NSN
08/29/2018, 2:49 PM
I am ok if you charge for this
l
lukasz
08/30/2018, 7:12 AM
@NSN - I think you figured it out that User-Agent: Mozilla/5.0 solved the problem.
n
NSN
08/30/2018, 4:18 PM
Not actually.
It needs to be added in the request header and the Service provider where the request is being sent from, doesnt support addign any parameter in the header
NSN
08/30/2018, 4:19 PM
And on the other hand , Netsuite is not goign to do any Provision to accept the request without this Parameter
NSN
08/30/2018, 4:20 PM
so I am no where regarding this. Currently goin to do an external PHP url , which can be a middle layer
l
lukasz
09/06/2018, 10:30 AM
ok - we have a simillar solution with a middle layer for FTP connection - this is the only reasonable approach in such cases