opened
zgramming
username_0
Can't download image from API Url (localhost)
issue
created
wyklif
username_1
also facing this issue, however when i started building my app it was working
comment
created
wyklif
username_1
i just found out that i was passing a wrong value for url, print out your url and see what you are actually passing to the downloader @username_0
comment
created
ko2ic
username_2
I tried writing the following nodejs.

```js
var app = express();
app.get('/*.(png|bmp|jpg|jpeg)', function (req, res) {
        console.log(req.url);
        res.sendFile(path.resolve('./images/'+req.url));
    });
```

```
$ tree images
images
└── flutter.jpg
```

In this example project, I confirmed the operation with the following URL on Android. 
It works without problems.

```dart
_downloadImage("http://10.0.2.2:3000/flutter.jpg");
```
comment
created
HTMHell
username_3
That's probably happening because you are not downloading from HTTPS. Look at: https://github.com/username_2/image_downloader/issues/47
comment
created
ko2ic
username_2
Close it because it has been confirmed that it works without problems.
comment
closed
ko2ic
username_2
issue
created
gaoobin
username_4
What is the solution, I also encountered this problem
comment
created
gaoobin
username_4
What is the solution, I also encountered this problem
comment