Response Error in python while calling url direct from http module.
-
Function listed in smartConnect.py working fine such as
"api.order.book":"/rest/secure/angelbroking/order/v1/getOrderBook",
"api.ltp.data": "/rest/secure/angelbroking/order/v1/getLtpData",But whenever iam trying to call direct get/post request in my case following url :
"https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/optionGreek"
"https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/getOrderBook"With python code it gives me a response error "Can't concat str to bytes"
Is something wrong with my python code for python request
-
Apologies for delayed response.
We will check and update you on this.Thanks & Regards,
SmartAPI team
2 out of 2