gervais_b<p>📚 Check out this recent article on best practices for file uploads.</p><p>Popular approaches:<br> 1. Uploading a file by itself, like adding an avatar.<br> 2. Uploading a file with metadata, like a video with a title and description.<br> 3. Importing a file from a URL, like an avatar from Facebook.</p><p>Best practices:<br> + Check Content-Type and Content-Length<br> + Secure file uploads</p><p>Read the full article: <a href="https://apisyouwonthate.com/blog/api-design-basics-file-uploads/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">apisyouwonthate.com/blog/api-d</span><span class="invisible">esign-basics-file-uploads/</span></a></p><p><a href="https://noc.social/tags/API" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>API</span></a> <a href="https://noc.social/tags/Development" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Development</span></a> <a href="https://noc.social/tags/BestPractices" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BestPractices</span></a> <a href="https://noc.social/tags/FileUploads" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FileUploads</span></a></p><p>By <span class="h-card"><a href="https://mastodon.green/@Philsturgeon" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Philsturgeon</span></a></span></p>