I am attempting to make an API encoded URL work to post a completed form into a database record, but I am running into a little issue with defining parameters.
Under the API documentation, for cms/records/{database.id}, I need to define category (if applicable), author, fields, and other optionals like locked, pinned, hidden, tags etc.
All is well until I tried to define fields. The fields are being picked up as a string, rather than an object.
e.g name:value
"fields":{"field_1:value","field_3:value","field_5:value","field_7:value","field_9:value"}
What happens is field ID 1 will pick up the 1st character, field ID 3 will pick up the 3rd character, etc.
So when it gets posted as a new record, the record will look like:
field ID1 being the Title, Field IDs 3, 5, 7 being filter/category options, Field ID 9 being the Content
Title: F (First Letter in the value of fields)
Categories/Filters: Default Value of the Field
Content: V (9th Letter in the value of fields)
Does anyone know how to resolve this issue?