This may be legacy interface stuff, but if you just check the "use keys" box on admin/build/services/settings, Services does *not* use keys. You have to check the "use sessid" box as well.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | node_service.module-allow_keys.patch | 514 bytes | greg.harvey |
| #2 | views_service.module-allow_keys.patch | 526 bytes | greg.harvey |
Comments
Comment #1
greg.harveyActually, this is incorrect. I was caught out by switching methods.
What *is* correct is the new title. views.get and node.get are ignoring the API keys.
Comment #2
greg.harveyOk, I just spotted this line in hook_service() in both modules:
So that makes sense! Question is, why? I presume this is a debug option accidentally left in? With that assumption in mind, please find patch code attached (patched against 6.x-0.13). If this is not the case, please explain why keys are disabled for these two methods.
Thanks! =)
Comment #3
greg.harveyComment #4
marcingy commentedComment #5
snelson commentedCommitted to D5 and D6
Thanks.