Validate API key before calling database

后端 未结 0 1350
隐瞒了意图╮
隐瞒了意图╮ 2021-02-08 00:44

When designing an API, is it worth validating the API key before checking the database to see whether or not the key is valid?

For instance, the key could look like this:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题