...
Note
If you are using Gateway instead of a Swarm Storage node, remove the --post301 --location-trusted
cURL options and you must add -u '<gateway username>:<password>'
for Gateway authentication [link to Gateway auth].
This document provides instructions for using cURL
commands to interact with SWARM Storage. Commands are organized into categories for creating and managing domains, buckets, objects, and configurations.
...