Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
@reiver ⊼ (Charles) :batman:
@reiver@mastodon.social  ·  activity timestamp last week

Some things would be easier if certain public HTTP-based APIs supported a (custom) APPEND HTTP-method.

To let users append to an existing file.

⁂

PUT is inefficient for this use case.

PATCH and POST already exist, but what they support is much more generic than this. It is the same way that you could use POST instead of DELETE, PATCH, and PUT; but it is simpler in some ways if you use a separate method for each pattern.

#ComputerProgramming #HTTP #HTTPAppend #HTTPS #WorldWideWeb

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login