Closed (fixed)
Project:
Services
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
26 May 2009 at 14:12 UTC
Updated:
13 Jun 2009 at 19:46 UTC
Hi,
I am trying to call a 6.x-1.x service from flash 8. I have no idea how to generate the hash API key on flash 8 and on the other hand I do not mind that the service will be exposed to any 3rd party which desires to use it (just view.get).
Is there a way to disable the API key so the service will be available without any authentication mechanism?
I tried disabling the module but it didn't work...
Thanks.
Comments
Comment #1
marcingy commentedSelect key authenication - uncheck the use keys and use session check boxes on settings page.
Comment #2
udig commentedmarcingy, thanks.
I did try to go in that direction, however when tested the node.get service I got the following message:
warning: Invalid argument supplied for foreach() in D:\MyDocuments\70_MyWebSites\pample\sites\all\modules\services\services.module on line 435.
In addition, no node is returned although the requested nid does exist (instead it says "Could not find the node.")
The above also happens with the other services. When testing views.get I get multiple instances of the above warning.
Poked into the code - the warning refers to services_node_load but I am missing the broader logic of the module to understand the issue.
Any idea?
Thanks.
Comment #3
marcingy commentedThere is a patch we are working on at the moment which will offer a no authenication method - this will hopefully be committed in the next couple of days.
Comment #4
garphyudig, you can temporarily disable that foreach field filtering statements while a fix is provided
Comment #5
marcingy commentedThe error seems to be linked this issue - http://drupal.org/node/480170 hopefully i'll manage to resolve it this weekend.
Comment #6
marcingy commentedSeems to be resolved as part of the fix for http://drupal.org/node/480170 committed to head.
Comment #7
marcingy commented