Postman 範例
Postman 彙集與環境範例
為了幫助您快速測試 AkashicPay SecureAPI,我們提供可下載的 Postman 彙集與環境範例檔案。
這些檔案是有版本的 - 目前的版本是 v1.0。
下載
🔗 彙集:
[AkashicPay] SecureAPI - example.postman_collection.json
🔗 環境:
Testnet-SecureAPI-Env.postman_environment.json
請務必使用您的實際下載連結取代上述 URL。
如何使用
安裝 Postman
從 https://www.postman.com/downloads/ 下載並安裝 Postman。
匯入匯集
開啟 Postman 並按一下左上方的
Import
。上傳檔案:
[AkashicPay] SecureAPI - example.postman_collection.json
匯入環境
對檔案重複相同的程序:
Testnet-SecureAPI-Env.postman_environment.json
匯入後,從 Postman 右上角的下拉式選單中選擇環境。
設定所需變數
環境檔案包含下列變數:
IP
:測試環境 API 的基本 URL (例如 testnet: 34.87.94.182)L2Address
: 您的第 2 層地址 - 用您收到的地址取代PrivateKey
: 您的密鑰對 - 請用與您L2Address
相關的密鑰對取代
請務必妥善保管您的密鑰對。請勿公開分享。
開始測試
這個集合包含有占位符的範例請求,會自動使用您設定的環境變數。
附件檔案
Postman Json 彙集範例
測試環境範例
Last updated
Was this helpful?