Service 3 is loggin my user off when anonymous requests are made by javascript.
Posted by nakeddesign on May 15, 2012 at 2:03pm
Drupal 6 / Services 3
Today I have successfully created my 1st services 3 retrieve API function. However I am finding that when the request is made the user is logged off.
Previously I was doing the exact same process using menu hooks returning JSON data instead of service URL's. This approach worked very well, but I wanted to make it more robust.
Here's what happens:
Login to drupal as admin.
Browse to a form that has some javascript to pull the data via api - $.getJSON(url/identifier/param.json)
Data is returned as expected.