Amazingā¤
if API fails it will never go to catch, you have to first check res.ok if it is ok then convert the body else throw the error
@SnehaSharma-dk4qg