turns out you need to give mt5 permission to request http, which i did and now it woks, just gonna leave this here incase anybody else has a similar issue and didn't realize you had to go into mt5 terminal - tools - options - Expert Advisors - allow web requests - then add the address....
A
Best posts made by AxelForex
-
RE: Send HTTP Requestposted in Questions & Answers