how convert this command curl $ curl -i --basic -u admin:public -X GET "http://localhost:8081/api/v4" to http method to use it in flutter
and the result:
{"data":[{"path":"/auth_clientid","name":"list_clientid","method":"GET","descr":"List available clientid in the cluster"}, ...],"code":0}
please help thanks