Mock backend APIs in angular

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 2

  • @devilgamingyt2914
    @devilgamingyt2914 Год назад

    Really I am weird with one error that is. In the video you are used getUserById, like I created getUserByName. And also I replaced userName in the place of id and I gave it as a string when I tried to get the data using userName it is showing error 'users with id='sai123' is not found but that is the correct userName. I have tried to replace the userName with id still id is string only in this time it is giving the correct answer. I don't know what happened with userName. When I give userName but in the error it is showing users with id not found. Any suggestions.