Commit ff403bed by Manzar Hussain

update js

parent 6cba9a09
......@@ -253,7 +253,22 @@
};
$.ajax(settings).done(function (response) {
console.log(response);
console.log(response.price);
});
const settings1 = {
"async": true,
"crossDomain": true,
"url": "https://apidojo-yahoo-finance-v1.p.rapidapi.com/stock/v2/get-financials?symbol=DICIND.NS&region=IN",
"method": "GET",
"headers": {
"x-rapidapi-key": "71595d71fdmsh59db2218deaaf67p15e9e8jsnca220a779910",
"x-rapidapi-host": "apidojo-yahoo-finance-v1.p.rapidapi.com"
}
};
$.ajax(settings1).done(function (response) {
console.log(response.price);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment