nothing fancy. give it an address, get the page back. the how-to is right below.
corsproxy fyi: 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.fyi/fyi/https://example.com/data.json'
As JSON, with "body", "status", "content_type", "url" and "headers":
curl 'https://www.corsproxy.fyi/fyi.json/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.fyi/fyi/https://example.com/api'
From a web page:
fetch('https://www.corsproxy.fyi/fyi/https://example.com/data.json').then(r => r.text())
http and https only. Redirects are followed. No key, no account.
FYI the answer comes back exactly as the other site sent it.
posted by ninevolt at 9:27 AM | comments (0) | link
page was down most of tuesday. my fault. tripped over the cable.
posted by ninevolt at 10:51 PM | comments (3) | link
comments are broken again. TODO: fix comments. mail me instead.
posted by ninevolt at 5:45 AM | comments (3) | link
i keep other people's servers alive for a living and my own barely alive for fun.
current mood: caffeinated
listening to: the neighbours' drum practice
| s | m | t | w | t | f | s |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 |
you are visitor no. 003212
since i started counting