How to create a folder named "my sub folder" using the WegDAV API?

Hello
want to create a folder with spaces / blanks as part of the name. How can I do that from outside NC using an API like cURL ?
Are spaces as part of the URL supported by the API
Example: name of the folder “my Sub A”

curl -u <username>:<password> -T 'my Test File.txt' "http://baumgarten.myDomain.at:8080/remote.php/dav/files/norbert/myTestFolder/my Sub A"

Thanks
Norbert

Have you tried to use the replacement code “%20” for a white space in an url?

“%20” doesn’t work.
curl -u : -T ‘my Test File.txt’ “http://baumgarten.neunzehn.at:8080/remote.php/dav/files/norbert/myTestFolder/my%20Sub%20A

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\Conflict</s:exception>
  <s:message>PUT is not allowed on non-files.</s:message>
</d:error>

Maybe it depends on the configuration?
Have NC 18.0.3 running as docker container / RPi4 with apache, insecure.