Bhaskar-Tr Since two days, i'm not able to call telegram api or ping it. ping api.telegram.org is anything changed in outgoing connections?
Bhaskar-Tr Hi, i'm trying to request the below API "curl --request GET 'https://front.page/api/v1/search/instruments?q=HiNDPETRO'" It is working fine from my local system, but from the server it is being rejected, is there any restriction on this ?
admin Hello, this is a blockade from the external side. You can send a request from a different available IP to the server, for example by adding: --interface 128.204.218.48 in the curl command.
Bhaskar-Tr This is working fine with CURL request, can you please guide me how to do it in python via requests or provide me some link. Thanks!
admin There are no easy options but it is possible: https://stackoverflow.com/questions/48996494/send-http-request-through-specific-network-interface