
0
Not a bug
Passphrase parameter in Extension API is empty.
We have a custom Extension API which takes in a passphrase.
We recently updated to 6.0.11622.6115
Whatever parametername in our HTTP GET request in fact becomes empty.
Has anyone had this problem? Is there a fix or some setting overlooked?
ConnectWise Control Version:
Server Affected:
Host Client Affected:
Guest Client Affected:
Answer

EDIT:
Here's a code example
private const string PASSPHRASE = "XXXX";
public object FindSessionBySystemName(string passphrase, string systemName) {
if (passphrase != PASSPHRASE)
return new { ErrorMessage = "Passphrase not correct: " + passphrase };
}
If passphrase is 1234 it stills displays empty when returning the errormessage.

Answer
Not a bug
Good morning,
As of version 6.0, you will need to use HTTP POST instead of GET to send parameter values to extension methods. In your case, the payload would look something like:
['1234', 'exampleSystemName']
Cheers,
Ben
Commenting disabled
Customer support service by UserEcho
Good morning,
As of version 6.0, you will need to use HTTP POST instead of GET to send parameter values to extension methods. In your case, the payload would look something like:
['1234', 'exampleSystemName']
Cheers,
Ben