mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
add call to validate api responses to doInsert (POST)
This commit is contained in:
@ -188,6 +188,7 @@ public class BaseAPIActionUtil
|
|||||||
request.setEntity(recordToEntity(table, record));
|
request.setEntity(recordToEntity(table, record));
|
||||||
|
|
||||||
QHttpResponse response = makeRequest(table, request);
|
QHttpResponse response = makeRequest(table, request);
|
||||||
|
validateResponse(response);
|
||||||
record = processPostResponse(table, record, response);
|
record = processPostResponse(table, record, response);
|
||||||
insertOutput.addRecord(record);
|
insertOutput.addRecord(record);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user