Hello Team,
-
We have new API need to integrate it into the Freshdesk custom app.
-
We integrated it using post request in server.js file.
-
We received following response while calling that api:
API failed { status: 400, headers: {}, response: ‘Invalid URL - IP is disallowed’, errorSource: ‘APP’, attempts: 1 }
- Below is API calling function( We are not able to share API name here because of confidentiality):
prediction: (payload) => {
var Url = "https://ip address/abc";
options.body = JSON.stringify(payload);
console.log('options.body:'options.body);
return new Promise((resolve, reject) => {
return $request
.post(Url, options)
.then(toJson, reject)
.then(resolve);
});
}
5. Can you please suggest any solution on that or can we take call ?
Thank you