Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5027

PHP Post to MSSQL with ServiceHandler

$
0
0

For clarity, my call now looks like this:


$headers = array(
'Accept: application/json',
'Content-Type: application/json'
);
$auditPost= DreamFactory\Core\Utility\ServiceHandler::handleRequest('POST','ap-db','_table/Audit',[],$jsonPayload,'JSON',$headers);

The only element from the api_docs not present is the $query filters=* which I do not want. I only need the id back which IIRC is the default. BTW I can also add records via the Data tab.


Viewing all articles
Browse latest Browse all 5027

Trending Articles