@Moderator_1 BRO THIS THING DOES NOT WORK
import axios from 'axios';
const requestData = {
"name": "TCS",
"expirydate": "28MAR2024"
};
var config = {
method: 'post',
url: 'https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/optionGreek',
data: requestData
};
axios(config)
.then(function(response) {
console.log(JSON.stringify(response.data));
})
.catch(function(error) {
console.log(error);
});
{"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}