A service method can define any method argument as signed by setting #signed_parameter TRUE.
Doing so appends the value of that argument to the regular hash parameters array.

This is NOT the case when using the service browser. Service browser doesn't honor this setting.
Result: testing a method with signed arguments always results in an 'Invalid API key' error.

Comments

pieterdc’s picture

In the description above; '#signed_parameter' is meant to be '#signed'.

pieterdc’s picture

Title: Services browser doesn't honor '#signed_parameter' » Services browser doesn't honor '#signed' argument
Status: Active » Needs review
StatusFileSize
new5.61 KB

Applying this patch will correct the issue mentioned above and will prevent any services browse test from timing out (which is a huge stress reliever :-p ).

pieterdc’s picture

Minor typo in previous patch which prevented you from editing the 'domain' parameter as the default value was set to '#value' instead of '#default_value'. Mea culpa.

marcingy’s picture

Assigned: Unassigned » marcingy

To be reviewed next weekend (hopefully).

marcingy’s picture

Status: Needs review » Fixed
marcingy’s picture

Status: Fixed » Closed (fixed)