Skip to content
source

HTTP GET request

Makes a HTTP GET request and returns the body of the response as stream.

From barnard59-http · v2.1.0

Reference

Identifier
https://barnard59.zazuko.com/operations/http/getView as Turtle ↓
Module
barnard59-http/get.js
Export
default
Stream
Readable — produces a stream
Implementation
ES module
Install
$ npm i barnard59-http

Use it in a pipeline

step definition · Turtle
<> a p:Step ;
  code:implementedBy [
    a code:EcmaScriptModule ;
    code:link <node:barnard59-http/get.js#default>
  ] .

Paste this into a pipeline definition to add the step. The code:link value tells barnard59 which module to load at runtime.