SuperHero Search

फ्रीमियम
Verified
द्वारा Akash Joshi | अपडेट किया गया hace 3 meses | Search
लोकप्रियता

9.5 / 10

लेटेंसी

223ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Search by id always returns the same result

Rapid account: Kwrush
kwrush
hace 4 años

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 hace 3 años

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 hace 3 años

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

Rapid account: Kwrush
kwrush Commented hace 3 años

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

Rapid account: Jakash 1997
jakash1997 Commented hace 4 años

Leonardo has answered it correctly :thumbs_up:

Rapid account: Cifuentes K L
cifuentes.k.l Commented hace 4 años

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.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें