0

I am trying to call and retrieve images from my web service so that I can display it on my website.

Everything is working well in POSTMAN (chrome extension)

But when I do this in jquery..

    $.ajax({
    url: 'http://mywebservices...blahblah',
    type: 'GET',
    success: function(response) {
        var content = ' ';
        for(var i=0; i<response.images.length;i++) {
            if(response.status == 0) {
                content = content + '<div class="animated slideInLeft">' + '<img src="' + result.images[i].s3File.url +'">' + '<div>';
            }
        }

        $( ".aboutus-slider" ).HTML(content);
    }
});

Is there any other ways I can do to easily retrieve the images so that I can display in my website? I have been working on this for the whole day..

John
  • 177
  • 1
  • 4
  • 19

0 Answers0