Interface ApiCallInstruction
- All Known Implementing Classes:
ApiCallAdapter
public interface ApiCallInstruction
API 呼叫指令介面。
提供 custom step 開發者執行 HTTP API 請求的能力。
-
Method Summary
-
Method Details
-
invokeWithActor
void invokeWithActor(String summary, String token, List<Map<String, String>> dataTable) throws Exception以指定身份執行 API 呼叫。- Parameters:
summary- API operation summarytoken- 身份驗證 tokendataTable- 請求參數(欄位名稱 → 值)- Throws:
Exception
-
invokeWithoutActor
以無身份執行 API 呼叫。- Parameters:
summary- API operation summarydataTable- 請求參數(欄位名稱 → 值)- Throws:
Exception
-