HttpRequest_v3 Op
Request a json file and output an object (ajax, url, json)
Summary (oneliner)
- Ops.Json.HttpRequest_v3
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch 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.
INPUT PORTS
a key/value-object of additional headers to send
an optional body to send (for POST/PATCH/PUT)
the http method to use
the content type of the body sent (if any)
trigger the request on any value change (or on pagereload)
indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates.
refresh data from remote (overrides an inactive "auto request")
OUTPUT PORTS
currently loading
triggers when finished
Patches using HttpRequest_v3
Changelog
bugfix | fix multiple requests loadingstatus | stephan - 2023-05-19 11:53 |
improvement | add option to allow sending credentials with request | stephan - 2024-04-26 11:57 |
improvement | 404 Error will be shown as a warning, not an error anymore | pandur - 2024-05-14 10:44 |
feature | Add option to output binary base64 string | pandur - 2024-05-22 10:50 |
improvement | Fixed loading status for binary requests | pandur - 2024-05-22 10:50 |
improvement | JSON parse errors will not throw an exception but show an uiError | pandur - 2024-07-30 16:13 |
improvement | Show warning if url is empty | pandur - 2024-08-01 08:28 |