請幫助理解下面的web服務的路由和web-url。 type
TAirportService = class(TInterfacedObject, IAirportService)
public
procedure GetAirportDefinition(const AirPortID: integer; out Definition: TDTOAirportDef
我想根據關於mORMot中REST路由的信息(http://synopse.info/forum/viewtopic.php?id=1833)配置對REST資源的非常簡單的訪問。 我需要調用網址爲localhost/api/apservice/station/1,但是下面的代碼只能調用作爲localhost/api/apservice/station?stationid={stationid} I