It is possible to use API with a api key without user authentication .
We have to save users file into nextcloud server from a web application.
The application must save directly files calling api
The usual way is to set-up a static app password for the account in question.
Do you know any code sample ?
Iām using .net but any post http or json sample can help me
You will find the Nextcloud developer guide here:
https://docs.nextcloud.com/server/21/developer_manual/
The search function of this forum is always good to find answers on questions
Aunt G. points me to the following website:
Solved ā¦Many Thanks
Iām sorry but now we encountered some problem uploading files.
can you help me ?
StatusCode: 409, ReasonPhrase: āConflictā, Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Date: Mon, 08 Mar 2021 16:51:00 GMT
Server: Apache/2.4.29
Cache-Control: no-store, must-revalidate, no-cache
Pragma: no-cache
Content-Security-Policy: script-src āselfā āunsafe-evalā āunsafe-inlineā;
Set-Cookie: oc_sessionPassphrase=xxxxx; path=/; secure; HttpOnly
Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
Set-Cookie: xxxxx b; path=/; secure; HttpOnly
Set-Cookie: cookie_test=test; expires=Mon, 08-Mar-2021 17:51:00 GMT; Max-Age=3600
Referrer-Policy: no-referrer
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Robots-Tag: none
X-XSS-Protection: 1; mode=block
Upgrade: h2,http:/1.1
Connection: Upgrade
Strict-Transport-Security: max-age=15552000
Transfer-Encoding: chunked
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Content-Type: application/xml; charset=utf-8
}