Video wird geladen...
Video konnte nicht geladen werden
404 > 403
18,145 Aufrufe • vor 4 Monaten •via X (Twitter)
3 Kommentare

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

N-Silbernagelvor 4 Monaten
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 Cuadravor 4 Monaten
As long as the endpoint is not already documented, otherwise it's just silly to not use 403
