Mutual Fund Nav Info and Historic Data

ÜCRETSİZ PREMIUM
Taraf Deepak Varshney | Güncelleyen 2 months ago | Financial
Popülerlik

0 / 10

Gecikme

127,200ms

Hizmet Düzeyi

0%

Health Check

N/A

Tüm Tartışmalara Dön

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.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun