SuperHero Search

FREEMIUM
Verified
Durch Akash Joshi | Aktualisiert il y a 2 ans | Search
Popularität

9.7 / 10

Latenz

306ms

Service Level

100%

Zurück zu allen Diskussionen

Search by id always returns the same result

Rapid account: Kwrush
kwrush
il y a 3 ans

Hello,

First of all, thanks for the api.
It seems that searching by id always returns the same result { id: 3, name: 'Abin Sur' }.

Rapid account: Kwrush
kwrush Commented il y a 3 ans

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” }

Rapid account: Jakash 1997
jakash1997 Commented il y a 3 ans

Hey kwrush, can you provide more examples of which ids you’re searching by

Rapid account: Kwrush
kwrush Commented il y a 3 ans

sorry for misunderstanding, I mean searching for different ids returns the same result

Rapid account: Jakash 1997
jakash1997 Commented il y a 3 ans

Leonardo has answered it correctly :thumbs_up:

Rapid account: Cifuentes K L
cifuentes.k.l Commented il y a 3 ans

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.

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen