Cyberia
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 1 day ago

REST my ass 💩

eviltoast.org

message-square
63
link
fedilink
672

REST my ass 💩

eviltoast.org

orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 1 day ago
message-square
63
link
fedilink
  • TomasEkeli@programming.dev
    link
    fedilink
    arrow-up
    33
    ·
    21 hours ago

    Please, please, please, PLEASE return error-codes and problem-details.

    Here’s the RFC: https://www.rfc-editor.org/rfc/rfc9457.html

    • douglasg14b@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      3 hours ago

      Counter argument is that error codes and problem details can be used by attackers to reverse engineer and find exploitable parts of a system.

      Within reason anyways

      • Feathercrown@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        So can a 200 response with an error description

    • HugeNerd@lemmy.ca
      link
      fedilink
      arrow-up
      9
      ·
      9 hours ago

      • blarth@thelemmy.club
        link
        fedilink
        arrow-up
        5
        ·
        8 hours ago

        Nightmares.

    • ryannathans@aussie.zone
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      It’s often valid to serve a 200 OK with an error in the application data.

    • darvit@lemmy.darvit.nl
      link
      fedilink
      arrow-up
      2
      ·
      10 hours ago

      This looks so over-engineered. Most of the time you only need an error message. Make the message clear enough so that it can be shown to the end user.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.63K users / day
  • 4.84K users / week
  • 8.34K users / month
  • 15.2K users / 6 months
  • 1 local subscriber
  • 26.3K subscribers
  • 807 Posts
  • 12.6K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org