Hello,
I use a NextcloudPi version with Nextcloud18 installed. I would like to have a shared file with a password protection.
Then I want to send a Post-Request to the Share Link with the post parameter “password” that contains the share password, so the user does not have to type in the password.
It is hosted on apache2 and the output of “curl -i -X OPTIONS https://…” is:
HTTP/2 200
date: Mon, 04 Jan 2021 15:28:38 GMT
server: Apache
strict-transport-security: max-age=15768000; includeSubDomains; preload
allow: GET,POST,OPTIONS,HEAD
content-length: 0
content-type: text/html
When I call the “https://…/index.php/s/…/authenticate/showShare” then I do not get an error anymore. But the password is asked even if I put the three post information into the request.
I send the request like the following:
I do not really know what I should write into the requesttoken.