For a custom node type, I have defined a field that is to hold an unlimited number of values from a taxonomy vocabulary that I defined.
This is what it looks like:
[field_taxonomy] => Array
( [und] => Array
[0] => Array
( [tid] => 13 )
[1] => Array
( [tid] => 14 )
[2] => Array
( [tid] => 15 )
)
This is the JSON I pass to the server during node creation (as per [1]):
'field_taxonomy':
{ '11':
{ 'tid': '11'} }
This format is accepted (i.e. no 406, which I get if I try to mirror the above structure), but when I look at the node on the server, the field does not contain any terms.
What does my request have to look like so I can succesfully set taxonomy terms on a node?
[1] What will be the post parameter when specifying vocabulary term?