Replies: 2 comments 1 reply
-
thats because look at the meshctrl.js for an example - https://github.com/Ylianst/MeshCentral/blob/master/meshctrl.js#L2046-L2612 i copied your code and tested, its returning the serverinfo json then quitting for myself what you need to do is add code in so that on each response of the websocket you parse the response as json AI EXAMPLE AND FIX:
|
Beta Was this translation helpful? Give feedback.
-
Thanks, this works:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I try to get a list with the device groups I have in Mesh Central. If I understand the https://github.com/Ylianst/MeshCentral/blob/master/meshctrl.js correct I have to use the action meshes. I also get a result back, but I don't see the names of the device groups.
Below is my PowerShell code:
Please ignore the password and the certificate settings. This is just a test container.
Any idea what I am doing wrong?
Thanks
Stephan
Edit:
It feels like I am always getting the same result
Beta Was this translation helpful? Give feedback.
All reactions