id
and details about the new item created. If an API returns a non-object result, the following error will show.
CheckError: Invalid API Response: - Got a non-object result, expected an object from create
results
in a { }
, or reaching into the array and pull out the object that represents what you want to return to the user.