SuperHero Search

부분 유료
Verified
분류별 Akash Joshi | 업데이트됨 a month ago | Search
인기

9.4 / 10

지연 시간

250ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Search by id always returns the same result

Rapid account: Kwrush
kwrush
3 years ago

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 years ago

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 years ago

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

Rapid account: Kwrush
kwrush Commented 3 years ago

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

Rapid account: Jakash 1997
jakash1997 Commented 3 years ago

Leonardo has answered it correctly :thumbs_up:

Rapid account: Cifuentes K L
cifuentes.k.l Commented 3 years ago

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.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입