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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 20090113_services6.x-0.13_browser_signed.patch | 5.32 KB | pieterdc |
| #2 | 20090113_services6.x-0.13_browser_signed.patch | 5.61 KB | pieterdc |
Comments
Comment #1
pieterdcIn the description above; '#signed_parameter' is meant to be '#signed'.
Comment #2
pieterdcApplying 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 ).
Comment #3
pieterdcMinor 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.
Comment #4
marcingy commentedTo be reviewed next weekend (hopefully).
Comment #5
marcingy commentedComment #6
marcingy commented