I am Noah, and currently i am facing problem in nextcloud API. I am testing this direct download on curl but it is not working is it some syntax error? or it’s working just i use wrong format?
Please let me know as soon as possible, because i am actually half way in the project. Have to make it work. Thank you very much.
This is the curl command that i am using- - - - - -
curl -X POST -v -u "email@example.com:test123" . https://nextcloud-fi.webo.hosting/ocs/v2.php/apps/dav/api/v1/direct/fileid=647979#pdfviewer