photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

272
active users

#fileuploads

0 posts0 participants0 posts today

📚 Check out this recent article on best practices for file uploads.

Popular approaches:
1. Uploading a file by itself, like adding an avatar.
2. Uploading a file with metadata, like a video with a title and description.
3. Importing a file from a URL, like an avatar from Facebook.

Best practices:
+ Check Content-Type and Content-Length
+ Secure file uploads

Read the full article: apisyouwonthate.com/blog/api-d

#API #Development #BestPractices #FileUploads

By @Philsturgeon

APIs You Won't Hate · API Design Basics: File UploadsHow does a REST API handle uploading images or spreadsheets when it normally only handles JSON or XML?