# What is https://api.allorigins.win/

**URL:** <https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897>\
**Category:** Snap! Editor\
**Created:** [August 15, 2021, 12:12am UTC](https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897 "2021-08-15T00:12:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sir\_kitten2](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/sir_kitten2/32/13971_2.png) [@sir\_kitten2](https://forum.snap.berkeley.edu/u/sir_kitten2)\
**Post date:** [August 15, 2021, 12:12am UTC](https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897/1 "2021-08-15T00:12:05Z")

</div>

Self-explanatory I know it has to do with the URL block.  
(also what is CORS)

---

<div class="post-metadata">

**Author:** ![helicoptur](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/helicoptur/32/8332_2.png) [@helicoptur](https://forum.snap.berkeley.edu/u/helicoptur)\
**Post date:** [August 15, 2021, 12:14am UTC](https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897/2 "2021-08-15T00:14:10Z")

</div>

It has nothing to do with the URL block. As for what CORS and the site is, just google it. This isn't related to Snap_!_

---

<div class="post-metadata">

**Author:** ![sir\_kitten2](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/sir_kitten2/32/13971_2.png) [@sir\_kitten2](https://forum.snap.berkeley.edu/u/sir_kitten2)\
**Post date:** [August 15, 2021, 12:35am UTC](https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897/3 "2021-08-15T00:35:44Z")

</div>

It has to do with the URL block because snap! uses CORS.

---

<div class="post-metadata">

**Author:** ![joecooldoo](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/joecooldoo/32/46163_2.png) [@joecooldoo](https://forum.snap.berkeley.edu/u/joecooldoo)\
**Post date:** [August 15, 2021, 1:07am UTC](https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897/4 "2021-08-15T01:07:14Z")

</div>

> [@sir\_kitten2](#):
>
> snap! uses CORS.

no, it doesn't.  
api.allorigins.win can grab html from **any** site.

---

<div class="post-metadata">

**Author:** ![helicoptur](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/helicoptur/32/8332_2.png) [@helicoptur](https://forum.snap.berkeley.edu/u/helicoptur)\
**Post date:** [August 15, 2021, 1:13am UTC](https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897/5 "2021-08-15T01:13:02Z")

</div>

Just google it

---

<div class="post-metadata">

**Author:** ![bh](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/bh/32/31580_2.png) [@bh](https://forum.snap.berkeley.edu/u/bh)\
**Post date:** [August 15, 2021, 4:22am UTC](https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897/6 "2021-08-15T04:22:20Z")

</div>

I think you guys are being a little mean. The reason people care about CORS proxies with Snap_!_ is that the URL block isn't nearly as useful as we'd like without one. So it's totally Snap_!_-related imho.

@sir_kitten2: Browsers include rules to prevent the site to which you connected (e.g., [snap.berkeley.edu](http://snap.berkeley.edu)) making web requests to unrelated sites without their permission. It's not a very robust security feature since it runs in the client and real bad guys would just patch their browsers to disable it. The object of the exercise is to prevent someone setting up a web site that scrapes the data from a different web site and adds their own advertising, I think. But the point is, most web sites don't bother changing the default setting, namely no scraping allowed, and that breaks the URL block.

So people invented the CORS proxy, which is basically a program that runs on some server and pretends to be a browser but what it really does is send the data from whatever URL you give it back to your actual browser. These things come and go, because there's really no way to make money running one, and the Powers That Be put pressure on the systems that host one to make it go away.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.snap.berkeley.edu/original/2X/d/dc8cfa4b1c99bd810b188b58c718084d8f47e271.svg) [@system](https://forum.snap.berkeley.edu/u/system)\
**Post date:** [September 14, 2021, 4:23am UTC](https://forum.snap.berkeley.edu/t/what-is-https-api-allorigins-win/7897/7 "2021-09-14T04:23:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
