Skip to content
transform

HTTP POST request

Makes a HTTP POST request, sends the written data as request body and returns the body of the response as stream.

From barnard59-http · v2.1.0

Reference

Identifier
https://barnard59.zazuko.com/operations/http/postView as Turtle ↓
Module
barnard59-http/post.js
Export
default
Stream
Readable and writable — reads the stream and passes it on
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/post.js#default>
  ] .

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