JSON Porn

FREEMIUM
By Steppschuh | Updated 5 months ago | Entertainment
Popularity

9.1 / 10

Latency

169ms

Service Level

100%

Back to All Discussions

How to assign image url to img src

K
kenpeter
5 years ago

Full code here: https://github.com/kenpeter/vue_my_search (using vuejs 2)

In this file: https://github.com/kenpeter/vue_my_search/blob/master/src/components/Main.vue, I want to display image with a <img src=“url” />, but the api requires me to have a api key ever time. Is there a way to get around it?

avatar
Steppschuh commented 5 years ago

Hey,
you can replace https://steppschuh-json-porn-v1.p.mashape.com with https://winged-octagon-86816.appspot.com or http://json-porn.com to bypass the Mashape proxy.

Feel free to use the demo project as a reference.

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 3.3 - Votes: 3