I had a similar issue before. Most likely you have a Web.Config or something similar that is blocking PUT requests.
For example in some PHP based backends in Azure I had to add: (there was only GET, POST and therefore the other requests were blocked)
<handlers>
<add name="PHP73_via_FastCGI" path="*.php" verb="GET, PUT, POST, DELETE, HEAD" modules="FastCgiModule" scriptProcessor="D:Program Files (x86)PHPv7.3php-cgi.exe" resourceType="Either" requireAccess="Script" />
</handlers>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…