Hi, Friends,
I used below POST method to use bulk API to insert below 2 rows to INPUT_TUPLE table in sudoku application,
the INPUT_TUPLE is like this:
tupleTInputTuple{
int docRowId;
key int row;
key int column;
int value;
};
POST https://localhost:9443/odme/dataserver/rest/v1/apps/sudoku/scenarios/0/tables/app.INPUT_TUPLE/rows/bulk
Content-Type: application/json
[
{
“docRowId”: 0,
“row”:3,
“column”: 4,
“value”:3
},
{
“docRowId”: 1,
“row”:3,
“column”: 5,
“value”:9
}
]
then, I got the below error, could you please help me to correct the request? Thanks a lot.
HTTP/1.1 400Bad RequestX-Powered-By: Servlet/3.0Content-Type: application/xmlX-Exception: trueContent-Encoding: gzipVary: Accept-EncodingContent-Language: en-USTransfer-Encoding: chunkedConnection: CloseDate: Sat, 24 Feb 2018 02:23:36 GMT
Source: POST method error