0

In my JSP page i am importing some api url that give some images.

my server blocks api url but my browser show those images that coming from api url.

My question is there any way to call the url from browser itself instead of calling from server side?

user768990
  • 89
  • 1
  • 3
  • 8

1 Answers1

0

If the API you're using only returns images, you can simply use <img src="http://your.api.url/" />.

Otherwise, you can call the URL using JavaScript, as put forward here.

Community
  • 1
  • 1
sp00m
  • 47,968
  • 31
  • 142
  • 252