RobotStudio event

web services REST AP / subscription events returned as XML, not JSON

jf___
jf___
edited April 2018 in Robot Controller
Hi,

The title pretty much says it all; when subscribing to a ( signal ) event through

requests.post(signal_subscription_url, params={"json": True})The stream of events returned via websockets are XML rather than JSON.
Is this a (perceived) inconsistency in the API? It would be great being able to handle all through JSON, rather than XML.
I've added a "?json=1" to the websocket URL to no avail.

Have to say, the API is a joy to use.

Tagged: