Post Raid vs Postman Post Raid

Error code 0 is usually indicative of a issue with the system.
And not the API, as your system failed to even make the call to the API.

Could be a SSL negoatiation issue.
Could be a firewall issue
Could be something else.

If you can enable some sort of Verbose or full logging of the HttpClient client that might provide additional information. But the issue lies with the system and potentially the packages installed to the system