|
~*~ W E L C O M E ~*~ All Origins Devevery origin is our origin [ E N T E R ] [ how 2 use it ] All Origins Dev: fetch any web address from here, with CORS headers on the answer
The answer as it came, status and headers included:
curl 'https://allorigins.dev/raw/https://example.com/data.json'
As JSON, with "responseBody", "statusCode", "contentType", "finalUrl" and "responseHeaders":
curl 'https://allorigins.dev/json?uri=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://allorigins.dev/raw/https://example.com/api'
From a web page:
fetch('https://allorigins.dev/raw/https://example.com/data.json').then(r => r.text())
http and https only. Redirects are followed. No key, no account.
The dev build. There is no other build. [ home ] [ guestbook ] [ my linkz ] [ awards ] [ e-mail me ] UNDER CONSTRUCTION
* winner of the "Kewl Site of the Week" * best viewed at 800x600 in 16-bit colour with your eyes open |