Replies: 2 comments
-
managed to do this way, i wander if there is more elegent way to do this: const res_data = await axios.get(random_img_url); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please upvote the following issue: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want fake image url to seed database, something like
https://loremflickr.com/cache/resized/65535_52183986434_128d52269d_h_673_1280_nofilter.jpg
which always gives same image.However on using following api
faker.image.cats(1234, 2345)
which gives following url which is saved in db.
https://loremflickr.com/1234/2345/cats
this url always gives different cat images while used in application.
Problem:
Can i some how run the above request and get static url and save that image url OR
is there any api call i can do to get random static image.
Beta Was this translation helpful? Give feedback.
All reactions