Hello!
I am trying to upload a json string to a long text field in a table.
In this example, I want to populate the metaData column with:
{"json":"data"}
Here are various strings I have tried passing to curl via both the command line (-d ) and via STDIN:
{"records":[{"id": "reciTUyexGJBrfe3L","fields": {"metadata":"{"json":"data"}"}}]}
{"records":[{"id": "reciTUyexGJBrfe3L","fields": {"metadata":"{""json"":""data""}"}}]}
{"records":[{"id": "reciTUyexGJBrfe3L","fields": {"metadata":"{\\"json\\":\\"data\\"}"}}]}
All of these respond with:
{
"error":{"type":"INVALID_REQUEST_BODY","message":"Could not parse request body"}}
I tried searching these forums, and all of the issues with escape characters appear to be targeted to Formulas, and use the ", which is not working for me.