HttpRequest_v4 Op
Request a json file and output an object (ajax, url, json,fetch)
Summary (oneliner)
- Ops.Json.HttpRequest_v4
- Core Op - visible for everyone
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch LoadingStatus HttpRequest 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.
INPUT PORTS
Request
the http method to use
the content type of the body sent (if any)
indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates.
a key/value-object of additional headers to send
Response
trigger the request on any value change (or on pagereload)
OUTPUT PORTS
currently loading
triggers when finished