Makes a standard HTTP request and return the contents as murex-aware data type for passing along murex pipelines.
Fetches a resource from a URL - setting STDOUT data-type
getfile url -> <stdout>
This simply fetches a resource (via HTTP GET request) from a URL and returns the byte stream to STDOUT. It will set STDOUT's data-type based on MIME defined in the
Content-Type HTTP header.
It is recommended that you only use this command if you're pipelining the output (eg writing to file or passing on to another function). If you just want to render the output to the terminal then use
open which has hooks for smart terminal rendering.
getfile has a number of behavioral options which can be configured via murex's standard
config: -> [ http ]
To change a default, for example the user agent string:
config: set http user-agent "bob" getfile: google.com
This enables sane, repeatable and readable defaults. Read the documents on
config for more details about it's usage and the rational behind the command.
config: Query or define murex runtime settings
get: Makes a standard HTTP request and returns the result as a JSON object
open: Open a file with a preferred handler
post: HTTP POST request with a JSON-parsable return
This site's content is rebuilt automatically from murex's source code after each merge to the
master branch. Downloadable murex binaries are also built with the website.
Last built on Thu May 26 22:49:43 UTC 2022 against commit 59e27bb59e27bb1013043fc4a940cf9a2767c63f31dad2c.
Current version is 2.8.2100 which has been verified against 15889 tests cases.