When SSH to vCenter, the curl command shows error:
vSphere vCenter Server 8.x
https://<vCenter IP>/apiexplorer is not the correct URL for vCenter.
It is not need to fix it. Just use url 'https://<vCenter IP>/ui/app/devcenter/api-explorer' instead. vCenter can access the API explorer interface normally.
'curl -ik https://<vCenter IP>/ui/app/devcenter/api-explorer' return 200, the result is normal.