In the following piece of code getting error
const config = {
method: "POST",
url: `https://hkidevelopment.hki.net.in/Api/Web_api/get_data`,
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
param: {
hook_values: "Luke"
}
}
if (params.auth) config.auth = params.auth
return await require("@pipedreamhq/platform").axios(this, config)
ERROR-------------
at null.createError (/tmp/ee/node_modules/@pipedreamhq/platform/node_modules/axios/lib/core/createError.js:16:15)
at null.settle (/tmp/ee/node_modules/@pipedreamhq/platform/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/tmp/ee/node_modules/@pipedreamhq/platform/node_modules/axios/lib/adapters/http.js:236:11)
at IncomingMessage.emit (events.js:412:35)
at null.endReadableNT (internal/streams/readable.js:1334:12)
at process.processTicksAndRejections (internal/process/task_queues.js:82:21)
Can you please help in this
Regards,
Sumit Rathi