How to update taxonomy term of a node using services I have created a new node using Services 3 module successfully, the code is below

{

 "type":"page",
"title":"New test page",
"taxonomy": { 
       "tid" :"367928"
      }

}


Configuration:

Drupal version = 6.26,

url = serviceurl/node,

App = Postman application in chrome,

Method = POST,

data = json.

But when i tried to edit the taxonomy term of the node using same format as below , its not working

url = serviceurl/node/node-id,

Method = PUT,

data = json.

{

"type":"page",
"title":"New updated title of the Page",
"taxonomy": { 
       "tid" :"367930"
      }
}


When I checked the node, the title is getting updated where as the taxonomy term remains the same.
I searched a lot on the net, but could not find any solution. Can anyone please help to fix this issue.
I think your JSON format to create node is wrong. Please check the created node. I guess it creates node but with empty taxonomy field. 

The correct format to create a node having taxonomy term is like follows.

Assuming that your 'widget type' for 'term reference field' is 'Select list' or 'Check boxes/radio buttons'

{
    "title": "my title",
    "type": "page",
    "field_mynodeterm": {
        "und": "3"
    }
}


here field_mynodeterm is machine name of your 'Term reference field' (which is used in content type).

Similarly you can use the same format to update the node

{
    "title": "my updated title",
    "type": "page",
    "field_mynodeterm": {
        "und": "5"
    }
}


If you use 'Autocomplete term widget (tagging)' as widget type for term reference field, the JSON format would be the following

{
    "title": "my updated title",
    "type": "page",
    "field_mynodeterm": {
        "und": "termname"
    }
}


I tested the above scenarios and working fine. Hope this helps.