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

AjaxRequest Op

Ops.Json.AjaxRequest


AjaxRequest
Namespace: Ops.Json

Op author: pandur

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.Json.AjaxRequest_v2

request a json file from another server (ajax, url, json)


summary (oneliner)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

file (Number)

JsonP (Number)

Outputs

data (Object)

Is Loading (Number)

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


Patches using AjaxRequest