I am trying to perform a GET request to a NextCloud server. The NextCloud documentation gives an example how to perform the request with a curl command:
curl -u username:password -X GET 'https://cloud.example.com/ocs/v1.php/...' -H "OCS-APIRequest: true"
How can I put options like -u username:password in dio? I have read the DIO docs up and down, but I can't figure out the solution...
Thanks so much in advance!