<CorsProxy App>the cross-origin problem, gone |
free scripts snippets tricks for your homepage |
| Home | New Scripts | Top Rated | Tutorials | Forum | Contact |
Categories
» Status Bar Tricks (41)
» Image Rollovers (4) » Cookies (40) » Clocks & Dates (30) » Counters (30) » Pop-up Windows (32) » No Right Click (42) » Redirects(4) » Password Gates (TODO) Tip of the Day
Name your files in lowercase. Some servers care, some don't, and you will move servers.
What's New
05/08/02 Fixed the broken zip in Mouse Trails 16/06/02 New category: Remote Loaders 26/12/02 Sorry about the downtime last week Visitors
0004516
since the counter got reset Site
|
Welcome, fellow webmasters! Remote Data FetcherCategory: Status Bar Tricks | Submitted by: jb | Rating: 3.7/5 (327 votes) | Works in: all browsers I got tired of that one console error. Copy and paste this into your page or your command line: CorsProxy App: fetch any web address from here, with CORS headers on the answer
The answer as it came, status and headers included:
curl 'https://www.corsproxy.app/go?to=https://example.com/data.json'
Your method, headers and body are passed on:
curl -X POST -H 'Content-Type: application/json' -d '{"a":1}' 'https://www.corsproxy.app/go?to=https://example.com/api'
If you can only send a GET, name the method and the body in the query, before the address:
curl 'https://www.corsproxy.app/go?as=POST&send=a%3D1&to=https://example.com/api'
From a web page:
fetch('https://www.corsproxy.app/go?to=https://example.com/data.json').then(r => r.text())
http and https only. Redirects are followed. No key, no account.
Try it out
You might also like: Back ButtonCopy and paste this into the <BODY> of your page: <form> <input type="button" value="Go Back" onclick="history.back()"> </form> All scripts are free to use. A link back is nice but you don't have to. |
© 2001 CorsProxy App / the webmaster. Scripts belong to their authors. corsproxy.app
This site looks best at 1024x768 with scripting turned on.