first_name
(right) and are sending the field’s value to your API using a property with the same name, first_name
(left):
firstname
(one word) instead. As shown below, you can change the request property key (left) as needed (firstname
) while still referring to the form field input (right) based on its original key (first_name
):
bundle.inputData
into the body of the API request, so there was a one-to-one relationship between field keys and request properties.
bundle.inputData
AND the updated property, firstname
. Then we delete the old property, first_name
, and send the updated object in the request: