2017-01-02 54 views
1

如何在ObjectScript中構建RESTful POST API,而架構如此。它應該接受符合模式的myList。在ObjectScript中構建RESTful POST API

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

回答

1

另請參見InterSystemsCaché文章中的REST here