beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
CorsProxy
Ops.Net.CorsProxy
Namespace: Ops.Net
create a cables.gl CORS proxy URL

summary (oneliner)

Prefixes the given URL with the URL of the cables.gl CORS proxy.
The resulting URL can be used in any request to circumevents Same-Origin-Policy restrictions.
The proxy itself does not store or alter the data received from the server.

doc

issues

youtube id

collections

related ops

Inputs

url (Number)

Outputs

Result (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
Weather API:
Op example patch is not public domain!

Makes a request to the MetaWeather API and displays the current temperature.
We use a CORS-proxy here to overcome security-problems between HTTP and HTTPS.

To change the city run this in your browser: https://www.metaweather.com/api/location/search/?query=berlin, change the last part (city) and copy the woeid from the response to `Location ID.



Credits


Examples using CorsProxy

Public Patches using CorsProxy