blue-prism-connector
v0.0.1
Published
## Example usage: ``` // Vendor const express = require('express'); const app = express(); const port = 3030; const restToSoap = require('rest-to-soap');
Downloads
4
Readme
Rest to Soap
Example usage:
// Vendor
const express = require('express');
const app = express();
const port = 3030;
const restToSoap = require('rest-to-soap');
app.get('/', async (req, res) => {
const reply = await restToSoap({
auth: 'admin:admin',
endpoint: "http://47c6ab68bd52.ngrok.io",
inputs: {
"name": "Theodore"
},
processName: "test",
returnRawResponse: true
})
res.status(201).send(reply);
});
app.listen(port, () => console.log(`Example app listening at http://localhost:${port}`));