Passer au contenu principal

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

ParamTypeDescription
operationsOperationsOperations to be performed.

Example

execute(
create('foo'),
delete('bar')
)(state)

request(options, callback) ⇒ Operation

Make a POST request

Kind: global function
Access: public

ParamTypeDescription
optionsobjectBody, Query, Headers and Authentication parameters
callbackfunction(Optional) Callback function

Example

request({method: 'get', path: '/jobs/});