Posting a single record
From DreamFactory
Contents
Tutorial
POST a single record by ID to a SQL or NoSQL database. Try these examples in the 'API Docs' tab of the DreamFactory Admin Console or from the command line with cURL.
API Endpoint
POST https://{url}/api/v2/{api_name}/_table/{table_name}/{id}
API Docs Screenshot
Example - POST a single contact record with ID 106
- Table name: contact
- ID parameter is API call:
106
- Body parameter in API call:
{ "resource": [ { "first_name": "Alice", "last_name": "Jones" } ] }
- Request URL:
https://foo.com/api/v2/db/_table/contact/1