DataSnap

一. 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 测试请求参数?

 

posted on 2016-07-07 17:44  rexhu  阅读(206)  评论(0编辑  收藏  举报

导航