【问题标题】:Build a RESTful POST API in ObjectScript在 ObjectScript 中构建 RESTful POST API
【发布时间】:2017-01-02 10:22:52
【问题描述】:

如何在 ObjectScript 中构建 RESTful POST API,而架构是这样的。它应该接受符合架构的 myList。

 {
    "$schema": "link",
    "type": "object",
    "properties": {
       "myList": {
          "type": "array",
          "items":{
             "type": "string"
          }
       }
    },
    "required": [
       "myList"
    ]
 }

【问题讨论】:

    标签: intersystems-cache objectscript


    【解决方案1】:

    请参阅文档中的Creating REST Services 章节。它描述了这个过程。

    【讨论】:

      【解决方案2】:

      另请参阅 InterSystems Caché 文章中的 REST here

      【讨论】:

        猜你喜欢
        • 2011-06-08
        • 2014-09-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-12-19
        • 2018-11-18
        相关资源
        最近更新 更多