Mutual Fund Nav Info and Historic Data

フリーミアム
よって Deepak Varshney | 更新済み il y a 2 mois | Financial
人気

0 / 10

レイテンシー

127,200ms

サービスレベル

0%

Health Check

N/A

すべてのディスカッションに戻る

Api responses with no data field

Rapid account: Powerof N
PowerofN
il y a 6 ans

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 il y a 6 ans

Thank you. The issue is solved.

Rapid account: Deep Var 35
deep_var35 Commented il y a 6 ans

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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿