Hey guys am new to nextcloud and also not so familiar with Libresign API,
Hope you don’t me asking am having trouble in setting up an endpoint to interact with my libresign API to enable me to sign documents on my libresign app
I have interacted with the libresign api guide API Guide | LibreSign but cant seem to grasp meaningful insights. I have been able to set authorization with base64 encoded username: password of the nextcloud instance as well as other necessary headers required. But the setting up the required url e.g http://localhost:8080/apps/libresign/api/v1/uploadDocument is what i cant figure out. Kindly assist.
Localhost obviously only works when you access through the host itself (where your Nextcloud is running). It’s not clear if you run the code from the same host or not. And if not, through which URL do you use Nextcloud?
And if it does not work, do you just not reach the host (problem with URL/network) or do you get an error (not found, no permission)?
I realise the issue is i had a problem with the URL/network. But i was able to resolve it and now i can upload documents from my laravel application to my nextcloud host. The issue am now encountering is initiate a signer on the libresign app for user who will be able to sign the document