Here is my code
const axios = require('axios');
testCall()
async function testCall() {
let results = await axios({
method: 'POST',
url: 'https://koroxcad.com/api/1.1/wf/platerunner',
headers: {Accept: 'application/json, text/plain, */*','User-Agent': '*' },
body: {
"community": 'w@5MnPs/7{2dykru',
"plate": '22REH726',
"apisecret": 'hyperzloveswomen'
}
});
console.log(results.data)
};
The problem is my custom backend workflow is not detecting the body
of the request, so the values in the workflow are all just empty and I can’t figure out why. I really just need help passing the data I guess.
I’m using NodeJS Version 16.13.2 for my application using to call my bubble API and then it’s supposed to return values but it doesn’t.
But all I’m getting back from results.data
is this:
Please, if anyone can figure out why my POST request won’t actually send my data, I’d appreciate it!