Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
web services REST AP / subscription events returned as XML, not JSON
jf___
✭
Hi,
The title pretty much says it all; when subscribing to a ( signal ) event through
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.
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:
0
Categories
- All Categories
- 5.7K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 366 IRC5
- 90 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 857 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings