const response = await fetch('https://cloud-api.calyptia.com/v1/fleets/{fleetID}/files', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"name": "text",
"contents": "Ynl0ZXM="
}),
});
const data = await response.json();