Last updated 1 month ago
File upload data
File uploaded successfully
"formatted_file_name.jpg"
File retrieved successfully
File deleted successfully
const response = await fetch('/action-demo-files', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
formatted_file_name.jpg
const response = await fetch('/action-demo-files/{fileName}', { method: 'GET', headers: {}, }); const data = await response.json();
binary
const response = await fetch('/action-demo-files/{fileName}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "message": "File deleted successfully", "description": "<p>The file has been deleted successfully.</p>", "__$markdownParsed": true }