Назад ко всем обсуждениям
Search by id always returns the same result
kwrush
vor 3 Jahren
Hello,
First of all, thanks for the api.
It seems that searching by id always returns the same result { id: 3, name: 'Abin Sur' }
.
Присоединяйтесь к обсуждению – добавьте комментарий ниже:
Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии
Hi jakash
If you can run this jsfiddle with your rapid api key
https://jsfiddle.net/kz59tmn7
Search for any id I always get the same hero { id: 3, name: “Abin Sur” }
Hey kwrush, can you provide more examples of which ids you’re searching by
sorry for misunderstanding, I mean searching for different ids returns the same result
Leonardo has answered it correctly :thumbs_up:
An id is an identifier for an item or object, this identifier is unique for the item it represents, that is why it will always return the same result, is like your social security number or your passport number, there is only one for you.