Confused to setup Header Information
-
payload = "{\n"clientcode":"S162966",\n"password":"**********"\n}"
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-UserType': 'USER',
'X-SourceID': 'WEB',
'X-ClientLocalIP': 'CLIENT_LOCAL_IP',
'X-ClientPublicIP': 'CLIENT_PUBLIC_IP',
'X-MACAddress': 'MAC_ADDRESS',
'X-PrivateKey': 'API_KEY'
} -
Kindly refer to the header parameter to fill the respective keys.
https://smartapi.angelbroking.com/docs/ResponseStructureThanks & Regards,
SmartAPI team