Hi - I’m sending an SCI request via a Perl Script to a pc gateway to set an xbee pin. It works perfectly but I get an “500 Internal Server Error” returned. Web host says it’s nothing on their end.- it must be script. I’ve tried ruby and python too and I get the same result. Works but error returned. Anyone know what I need to do in the script to handle this? The script is being called from html file. ty
$user_agent = LWP::UserAgent->new;
‘Device Cloud WS’,
$request = ’
‘Content-Type’ => ‘text/xml’,
‘Content’ => $request);
If Device Cloud determines that the request wasn’t successfully processed, die with the error message.