Posting records
From DreamFactory
Line 1: | Line 1: | ||
− | + | === Tutorial === | |
POST one or more records 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. | POST one or more records 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 === | |
<pre>POST https://{url}/api/v2/{api_name}/_table/{table_name}</pre> | <pre>POST https://{url}/api/v2/{api_name}/_table/{table_name}</pre> | ||
− | + | === API Docs Screenshot === | |
[[File:Swagger-post-records.png|1000px]] | [[File:Swagger-post-records.png|1000px]] | ||
− | + | === Example - POST multiple contact records === | |
* Table name: contact | * Table name: contact |
Revision as of 17:49, 3 February 2016
Tutorial
POST one or more records 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}
API Docs Screenshot
Example - POST multiple contact records
- Table name: contact
- Body parameter in API call:
{
- Request URL:
https://foo.com/api/v2/db/_table/contact