Build a RESTful POST API in ObjectScript

288 views Asked by At

how to build a RESTful POST API in ObjectScript whereas schema is like this. It should accept myList conforming to the schema.

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

There are 2 answers

0
rfg On

Refer to Creating REST Services chapter in documentation. It describes the process.

0
Evgeny Shvarov On

See also REST in InterSystems Caché articles here