There is a newer version of this op!
This version will not receive any updates. It is recommended to use a newer version.
Current version: Ops.Net.CorsProxy_v2
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
Inputs
url (Number)
Outputs
Result (Number)
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.