Getting image data back from jQuery ajax request and displaying it in img tag
I'm using the dezgo api and whenever I get a response, I want to display it in an image tag. This is my code: const settings = { "async": true, "crossDomain": true, "url": "https://dezgo.p.rapidapi.com/text2image", "method": "POST", "headers": { "content-type": "application/x-www-form-urlencoded",…