dimitrios1988 Hello, I want to make an API call. I know that the payload must me in this form: { "0": { "key": "value" } } Is there a way to have a payload in this form { "0": { "key1": "value1" }, "key2": "value2" } and just ignore the key2 object?
gabriel Generally, JSON API payloads do not have a fixed structure - it all depends on what the API endpoint is expecting. Depending on what kind of API call you refer to, the answer is as follows: If you want to execute REST API calls from a REI3 server (eg. REI3 serves as REST client): Then it depends on the API endpoint you are calling. The other system then defines what the content/structure of the payload should be. If you want ot execute REST API calls against a REI3 server (eg. REI3 serves as REST server): Then it depends on the API definition of the REI3 application. If you are creating your own app in REI3, you are in control on how the payload should look like. REI3 can also use non-verbose API calls, in which you would only send values.