Problem to use restAPI

Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send.
At line:1 char:39
+ … FixletInf = Invoke-RestMethod -Uri "https://XX.XX.XX.XX:52311/api/qu
**+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**
** + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException**
** + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand**

anyone know about it?

It won’t really be possible to guess without some example of what you are trying to do.

I’ll say, pretty much unequivocally, that the API works when used correctly.