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.

  1. On the Publish Feature page, click Validate Interface.

  2. 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\"}"
  3. The Validation Result area displays the response status, latency, and response content.