After creating a resource through the API, a response should include it's representation. It's required to get at least the ID generated by the resource creation to use it again in a subsequent API call (e.g., to associate this ID to another resource).
Eg, for success: 200:
curl --verbose --request POST --header "Content-Type: application/json" -d "{name:'Name',description:'this is the description',filter.id:'1'}" http://localhost:8080/api/attribute/none --cookie cookies.txt
<attribute id='1' name='Name' description='this is the description' filterId='1' />
After creating a resource through the API, a response should include it's representation. It's required to get at least the ID generated by the resource creation to use it again in a subsequent API call (e.g., to associate this ID to another resource).
Eg, for success: 200: