openfn@1.2.3
Functions
- execute(operations) ⇒
Operation
Execute a sequence of operations. Wraps
language-common/execute
, and prepends initial state for http.- request(options, callback) ⇒
Operation
Make a POST request
execute(operations) ⇒ Operation
Execute a sequence of operations.
Wraps language-common/execute
, and prepends initial state for http.
Kind: global function
Param | Type | Description |
---|---|---|
operations | Operations | Operations to be performed. |
Example
execute(
create('foo'),
delete('bar')
)(state)
request(options, callback) ⇒ Operation
Make a POST request
Kind: global function
Access: public
Param | Type | Description |
---|---|---|
options | object | Body, Query, Headers and Authentication parameters |
callback | function | (Optional) Callback function |
Example
request({method: 'get', path: '/jobs/});