postURL - Error due to - 'Internal Exception'

postURL - Error due to - 'Internal Exception'

Good day,

I created a function that makes a simple postURL call to our API without authentication.
It works using Postman but I get  Error due to - 'Internal Exception' in Zoho

Here's my code : 

HeaderMap = Map();
HeaderMap.put("content-type","application/x-www-form-urlencoded");
param = Map();
param.put("param","test");
url = "https://zoho-teleopti.tpcc-trim.com/api/Zoho/post";
result = postUrl(url,param,HeaderMap,false);
info result;