cors (noun)

A Middle English form of curse.

Call this with a URL appended to receive that URL with Access-Control-Allow-Origin: * headers.

All request Headers will be passed along by the proxy.

Don't forget to include your API key in the Authorization header!


<script>
fetch('https://curse.pother.ca/https://example.com', {
    headers: {
      "Authorization": "token <api-key>"
    }
})
</script>

If your request requires a Authorization header, the API key for Curse can be passed in a Curse-Authorization header instead:


<script>
fetch('https://curse.pother.ca/https://example.com', {
    headers: {
      "Curse-Authorization": "token <api-key>"
    }
})
</script>