beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

CorsProxy_v2 Op

Ops.Net.CorsProxy_v2


CorsProxy
Namespace: Ops.Net

Op author: stephan

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

caniuse query

collections

related ops

Inputs

URL (String)

Outputs

CORS URL (String)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Weather API - Example

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.

Open Example In Editor


Changelog


Ops.User.stephan.CorsProxy_v2 renamed to Ops.Net.CorsProxy_v2
2019-11-20 - stephan

Examples using CorsProxy_v2 ()

Public Patches using CorsProxy_v2 ()