Einzelnen Beitrag anzeigen

TigerLilly

Registriert seit: 24. Mai 2017
Ort: Wien, Österreich
1.176 Beiträge
 
Delphi 11 Alexandria
 
#29

AW: TMS Webcore app mit DB auf gehosteten Systemen

  Alt 15. Dez 2022, 09:16
Freut mich, wenn ich hefen konnte.

In ReadMe zur API steht:
Code:
#### Update

To update a record in this table the request can be written in URL format as:

    PUT /records/posts/1

Where "1" is the value of the primary key of the record that you want to update. Send as a body:

    {
        "title": "Adjusted title!"
    }

This adjusts the title of the post. And the return value is the number of rows that are set:

    1
Das Updaten geht analog zum Lesen, nur mit PUT statt GET.
TWebClientConnection hat eine Property Command, mit der du das machen kannst. Ich hab grad keine Zugriff auf meinen Code, ich such das später raus.
  Mit Zitat antworten Zitat