I just need to request the src attribut image on a website. The source changes around 2 times every 10 minutes, so i can't paste the link's image. It's been a long time i'm looking for but nothing.
There is my code :
function loadPicture() {
            $.ajax({
            type: 'POST',
            url: 'https://myAdress.com',
            success: function(picture) {
              $('#picture').attr('src', picture); },
            error: function() {
              $('#picture').text('Une erreur est                            survenue.'); },
          });
        }<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>Thanks
 
     
    