Validate an interface
更新时间:
复制 MD 格式
This topic describes how to validate an interface in the Ant Privacy-Preserving Computation Platform console.
Prerequisites
Make sure that you select a production interface when you configure the interface to publish features.
Procedure
Follow these steps to validate the interface.
On the Publish Feature page, click Validate Interface.
On the Interface Validation page, enter the required information in the Request Parameter Simulation section and click OK.
The format for `selectedNameList` is as follows:
["f1", "f2", "f3"]The format for `customParams` is as follows:
"{\"applyNo\":\"20190513xxxxxxxxxxA\",\"requestId\":\"20160xxxxxxxxx0\",\"productId\":\"xx\",\"bizMode\":\"PLATFORM_1\",\"bizActionType\":\"ADMIT_APPLY\"}"
The Validation Result area displays the response status, latency, and response content.
该文章对您有帮助吗?