HTML tag requests
Cross-origin request from <img> tag
Summary
Using an <img>
tag triggers a cross-origin request for an image.
The browser allows these requests by default, without requiring CORS.
Instructions
- Hit green button below and see dynamically loaded image appear
- Observe difference between source and request origins, confirming cross-origin request
Image goes here
View source on GitHub | Created by Tom Gregory