Posting data to multiple tables with joins
POST records to multiple SQL tables related by foreign key. Try these examples in the 'API Docs' tab of the DreamFactory Admin Console or from the command line with cURL.
Note that this example also applies to updating records.
- API Endpoint
- API Docs Screenshot
- Example - POST contact records (parent table) and contact_info_by_contact_id records (child table)
- Table name: contact
- Body parameter in API call:
- Request URL: