Create a Section via API with a relation element

Would like to create a new Section via API but you're not able to set the correct value for the relation element? Here the cURL snippet:

curl -X "POST" "http://mburger.test/api/blocks/6/sections" \
-H 'Accept: application/json' \
-H 'X-MBurger-Token: 12345678901234567890' \
-H 'X-MBurger-Version: 3' \
-H 'Content-Type: multipart/form-data; charset=utf-8;' \
-F "elements[it][text]=Hello" \
-F "relation-name[0]=76"

Here you can find the technical documentation:

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.