Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

helpers._makeOCSrequest sends undefined=undefined to the server when called without data #553

Open
individual-it opened this issue Sep 7, 2020 · 0 comments
Labels

Comments

@individual-it
Copy link
Member

e.g. from Apps.enableApp

maybe it would be better not to send any data?

POST /owncloud-core/ocs/v1.php/cloud/apps/files HTTP/1.1
Host: localhost
Connection: keep-alive
Content-Length: 19
authorization: Basic YWRtaW46YWRtaW4=
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/85.0.4183.83 Safari/537.36
OCS-APIREQUEST: true
X-Request-ID: a4745ce4-66fa-45c7-a9ad-9f10a5c0c393
content-type: application/x-www-form-urlencoded
Accept: */*
Origin: http://localhost:9876
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:9876/context.html
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US

undefined=undefined
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant