Skip navigation
404 > 403
0:00 / 1:13

404 > 403

nunomaduro

@enunomaduro68K followers

Visit on X
45 likesDownloadOriginal post

18,145 views

404 > 403

3 Comments

Comments from the original post on X (Twitter)

  • Sander's profile picture

    @sdevos16

    This only works if checking the policy takes the same amount of time as checking for existence.

    1 like

  • N-Silbernagel's profile picture

    @n_silbernagel

    1/2 I think there is something to be said about the DX of such APIs though. As an example, we are using jFrog artifactory which returns 404 if a user does not have permissions to get a package from the npm registry.

  • Humberto Cuadra's profile picture

    @hcdotdev

    As long as the endpoint is not already documented, otherwise it's just silly to not use 403