SuperHero Search

FREEMIUM
Verified
Por Akash Joshi | Actualizada 2 वर्ष पहले | Search
Popularidad

9.7 / 10

Latencia

291ms

Nivel de servicio

100%

Volver a todas las conversaciones

Search by id always returns the same result

Rapid account: Kwrush
kwrush
3 वर्ष पहले

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 3 वर्ष पहले

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 3 वर्ष पहले

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

Rapid account: Kwrush
kwrush Commented 3 वर्ष पहले

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

Rapid account: Jakash 1997
jakash1997 Commented 3 वर्ष पहले

Leonardo has answered it correctly :thumbs_up:

Rapid account: Cifuentes K L
cifuentes.k.l Commented 3 वर्ष पहले

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.

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios