Mutual Fund Nav Info and Historic Data

FREEMIUM
(Ким) Deepak Varshney | Оновлено месяц назад | Financial
Популярність

0 / 10

Затримки

127,200ms

Рівень обслуговування

0%

Health Check

N/A

Повернутися до всіх обговорень

Api responses with no data field

Rapid account: Powerof N
PowerofN
6 лет назад

I use python.
When I call the this API,
requests.post(“https://mutual-fund-info.p.mashape.com/ri/v1/investment/scheme/nav”,
headers={
“X-Mashape-Key”: “mSAmrz3x2JmsheYs28zfttpimXKup1EZH2QjsnqQOM1k16BFXO”,
“Content-Type”: “application/json”,
“Accept”: “application/json”
},
params=("[{“schemeCode”:“126394”,“date”:“10-Jul-2018”}]")
)
I get this response

{
“meta”: {
“statusMessage”: “Failure”,
“statusCode”: 400,
“createdAt”: “2018-10-29T12:15:43.890”,
“uuid”: “10fc96ab-d84d-403d-95b1-4b37f0b01b43”,
“responseTimeInMillis”: 0
},
“error”: {
“message”: “”
}
}

Why am I not receiving any data?

Rapid account: Powerof N
PowerofN Commented 6 лет назад

Thank you. The issue is solved.

Rapid account: Deep Var 35
deep_var35 Commented 6 лет назад

Hi PowerOfN,
Please use GET in request, instead of POST.
If you want multiple schemeCodes and dates in request body, please refer sample request for POST.

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення