I recently noticed that in current version of the router firmware ‘list’ command isn’t recognized by the current version of the router firmware. I’d send a POST request to /ubus with content:
It seems you’ve used the incorrect request type. The POST method is typically used to send data to the server for creating or updating a resource. However, in this case, you should use the GET request because command “ubus list” is not writable. Instead, it provides a comprehensive list of all objects registered within the namespace.
Could you provide some sort of documentation or examples on how to call the UBUS RPC API with HTTP GET requests? Neither the Teltonika, nor the OpenWrt docs seem to mention the need to do HTTP GET requests.
Also, every library I’ve seen that deals with UBUS RPC, seems to use exclusively the HTTP POST method. (See this one or that one which explicitly uses HTTP POST requests with the list method in UBUS.)