How can I provide an error message to a user from a Rest API?

后端 未结 0 670
忘了有多久
忘了有多久 2021-01-23 03:04

I\'m trying to make a weather app, and my console returns two errors if the search field is left empty or the location can\'t be found:

400 (Bad Request)

Uncaugh         


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