JSFiddle - React, Tailwind, and code Playground

by BenjaminRay

HTML

<img id="#CaptchaImg" />

JavaScript

$.ajax({
    type: "GET",
    url: 'http://lorempixel.com/400/200/city/9/',
    datatype: "image/jpg",
    success: function (data) {
        $('#CaptchaImg').attr('src', data);
    }
});