I just checked the httpAPI information. I want to confirm any example for delphi DA server through httpApi for table searching , insert, edit through json?
Like I query a table with criteria return a json data, or I pass a editing json data(similar to your ,net example).
Any exmaple or advise ? if not yet support, any dataset to json , json to dataset tools or helps utilies?
for the JWT, from the discussion, seems no natively solution. Any advise on delphi to implement it ? Any example?
you can use Odata in json mode. though we support only Odata v1, it is possible to perform common operations like Select, Insert, Update, Delete.
correspondent http methods will be:
GET /path/%table - to a listing of ALL records in table
GET /path/%table/%IDVALUE - to a listing of just that record
POST - add a new record
PUT /path/%table/%IDVALUE - to update a record in the table
you can convert any dataset to IDADataset with uDADatasetWrapper.TDatasetWrapper.
later this IDADataset can be serialized/deserialized to/from json with uDAJSONDataStreamer.TDAJSONDataStreamer.