progres@1.4.6
This adaptor exports the following from common:
- alterState()
- dataPath()
- dataValue()
- each()
- field()
- fields()
- fn()
- fnIf()
- http()
- lastReferenceValue()
- merge()
- sourceValue()
Functions
postData
postData(params, callback) ⇒ Operation
Make a POST request with a certificate
Param | Type | Description |
---|---|---|
params | object | Url, Headers and Body parameters |
callback | function | (Optional) A callback function |
Example
postData({
url: urlDTP,
body: obj,
headers: {
'Ocp-Apim-Subscription-Key': configuration['Ocp-Apim-Subscription-Key'],
},
agentOptions: {
key,
cert,
},
}, callback)(state)