I am trying to Post a new record to a Table but I keep getting this error:
“Error: body.records is missing”
I have copied and pasted an existing record so I do not believe there is any issues with bad data-types or formatting. Ran it thru a JSON validator as well. My request is below for review.
Thanks
POST /api/docs/dCTs9G9125gi/tables/Flights/records HTTP/1.1
Authorization: Bearer {{API_TOKEN_REMOVED_FOR_SECURITY}}
Content-Type: text/plain; charset=utf-8
Cookie: grist_sid_prod=s%3Ag-kG9QG5SsDqYxgivJDu1S38.Gx4RO40q8R3zjYrdoS3cLYXPBqXQicVv1%2FlYX%2BmnlJo
Host: docs.getgrist.com
Connection: close
User-Agent: RapidAPI/4.1.1 (Macintosh; OS X/12.4.0) GCDHTTPRequest
Content-Length: 628
{
"records": [
{
"fields": {
"Flt_Number": 1000,
"Dep": "XXX",
"Arr": "YYY",
"Nose_Number": 125
}
}
]
}