0

i'm trying to get image blob data via amazon api :

        const url = "https://ayae52i9de.execute-api.us-east-1.amazonaws.com/prod/s3?key=elephant-trax/google_103236758783646644108/01232022112248_69365b28-43e0-406f-a0ce-8e6716146f61";

here is js code :

const options = {method: 'GET'};

fetch('https://ayae52i9de.execute-api.us-east-1.amazonaws.com/prod/s3?key=elephant-trax%2Fgoogle_103236758783646644108%2F01232022112248_69365b28-43e0-406f-a0ce-8e6716146f61', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

enter image description here

please tell me how show images at our web page in html js

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470

0 Answers0