I am a newbie with Services and am trying to get the examples in http://drupal.org/node/1334758 (Example REST server for node.create with session authentification (JSON & PHP cURL)) working.
In the first example the login seems to work and I am getting a 200 returned. When I try to create a node I get a 406
I then tried the revised code further down the page and again get the 200 for the login and this time I am getting a 401 for the node create.
I have checked and for the service I created I have "Session Authentication" enabled.
I am using Drupal 7.14 and Services 3.
I have created a service called test_service and it seem to be correct,
I would appreciate any assistance understanding this 401 and 406 error issue as my code is a copy and paste from the drupal site with only the endpoint url changed to match my site.