Yes, I already know about the bug. I know I can install it from the panel, but I needed to do it from the CLI.
The bug is from 2023, don't you plan to fix it someday?
I've solved it now. It seems that you now have to indicate the data type in the string that is sent when making the request.
//NO WORKING
StringContent cont = new StringContent(JsonConvert.SerializeObject(ls));
//WORKS
StringContent cont = new StringContent(JsonConvert.SerializeObject(ls)...
Yes, I've seen that post, but that's not my case. In fact, I already send the application/json mime type in the calls.
Also, other calls such as listing the extensions in the /api/v2/extensions panel work perfectly.
Only the one that allows me to install SSL using LetsEncryp fails.
For a few days now, when I try to install LetsEncrypt certificates, I get the error 415 Unsupported Media Type only in that call. I have tried other calls and they don't give an error. It only gives it in that one.
I use C# to make the calls. I attach the code
private void InitializeClient()...
Hello. For years I have been using the Plesk XML API to install certificates on my domains. Until now I never had a problem but for a few days it no longer works. It doesn't give any errors or anything. It just doesn't work. I attach an example of XML that I sent to the server to install SSL...