mikronode-ng
mikronode-ng copied to clipboard
problem with '=count-only='
I have tested /ppp active print count-only in console and work well.
When I test with API with ['/ppp/active/print', '=count-only=']
to channel.write it returns an empty array.
Requesting with "/ppp/active/print" works fine.
Dear leo-combes,
as I faced same issue previously I found that it needs to make an async-await function due to asynchronous connection so you must wait until response will be prepared then showing the result,