Closed ahonor closed 12 years ago
The /api/childNode create function should return a representation of the new relationship. Eg
curl --verbose --request POST --header "Content-Type: application/json" -d "{relationshipName:'parent_child_test',parent:'1',child:'2'}" http://localhost:8080/api/childNode/none --cookie cookies.txt
Produces:
<childNodes> <childNode id="1" parentNodeId="3" parentName="qa" childNodeId="1" childName="ubuntu" relationshipName="node"/> </childNodes>
The /api/childNode create function should return a representation of the new relationship. Eg
curl --verbose --request POST --header "Content-Type: application/json" -d "{relationshipName:'parent_child_test',parent:'1',child:'2'}" http://localhost:8080/api/childNode/none --cookie cookies.txt
Produces: