Загрузка видео...

Не удалось загрузить видео

На главную

404 > 403

18,145 просмотров • 4 месяцев назад •via X (Twitter)

Комментарии: 3

Фото профиля Sander
Sander4 месяцев назад

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

Фото профиля N-Silbernagel
N-Silbernagel4 месяцев назад

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
Humberto Cuadra4 месяцев назад

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

Похожие видео