一. DataSnap REST
- http://docwiki.embarcadero.com/RADStudio/Berlin/en/DataSnap_REST
1. URI Mapping: (js 如何访问 DataSnap Server)
1.1HTTP请求格式: http://my.site.com/datasnap/rest/URIClassName/URIMethodName[/inputParamter]*
Command Type | Mapping pattern | Example |
GET | URIClassName.URIMethodName | Utility.Storage |
PUT | URIClassName.acceptURIMethodName | Utility.acceptStorage |
POST | URIClassName.updateURIMethodName | Utility.updateStorage |
DELETE | URIClassName.cancelURIMethodName | Utility.cancelStorage |
1.2 测试请求参数?