Mutual Fund Nav Info and Historic Data

FREEMIUM
Durch Deepak Varshney | Aktualisiert 2 months ago | Financial
Popularität

0 / 10

Latenz

127,200ms

Service Level

0%

Health Check

N/A

Zurück zu allen Diskussionen

Api responses with no data field

Rapid account: Powerof N
PowerofN
6 years ago

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

Thank you. The issue is solved.

Rapid account: Deep Var 35
deep_var35 Commented 6 years ago

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.

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

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen