User750074654 posted
I have a web application that works fine in development, and worked fine in my hosted environment but now I have my own server I cannot get it to connect to an online API. This is the website I am trying to access (it delivers custom QR codes):
http://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Example
From my desktop it is fine, from within a browser on the server I can access it fine, but in my code I am trying to get the image into the iTextSharp plugin which is creating my pdf files. The pdf constructs fine but when trying to access this online API
for a QR code the server sits there for a while, then gives up and the pdf is delivered minus the qr code.
Here is the line of code that tries to get the image:
Dim QRImageFile As iTextSharp.text.Image = iTextSharp.text.Image.GetInstance(ImageUrl)
Does anyone know what might be happening (could be a firewall setting but not sure which one?) please?