|
Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
|
Read message from dipc queue
/rw/dipc/{queue-name}
GET
action=dipc-read Required
timeout={timeout in ms} (default 0) Optional
None
HTTP_OK (200)
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>RobAPI2 DIPC</title>
<base href= "http://localhost/rw/dipc/" />
</head>
<body>
<div class="state">
<a href= "testq?action=dipc-read" rel="action"/>
<ul>
<li class="dipc-read-li" title="testq">
<span class="queue-name">testq</span>
<span class="queue-size">4</span>
<span class="queue-sid">186</span>
<span class="queue-did">186</span>
<span class="dipc-msgtype">IPC_PACKAGE</span>
<span class="dipc-cmd">111</span>
<span class="dipc-userdef">222</span>
<span class="dipc-data">hello</span>
</li>
</ul>
</div>
</body>
</html>
BAD_REQUEST (400)
See Robot controller return codes
curl --digest -u "Default User":robotics "http://localhost/rw/dipc/testq?action=dipc-read"
Not supported in bootserver mode.