Test API
How to use apifox web tool to test API
::: tip
From API doc, click "run in apifox"
:::
::: tip
Install apifox chrome extension
Compatible with Chrome and Opera
UAT
Choose UAT environment in the top right corner, the api key is pre-configured.
Go to the API, click drop down button and find the pre-set test case, click "send".
Go to console, output of every step of signing calculation is printed.
Go to "pre-process" step, click on the sign-v2 script and check the content for reference of the signature implementation. It is written in
javascript
and is compatible with postman
Prod
Choose Production environment, configure:
- lfAccessKeyId - this is the key ID
- privateKey - this is the private key, fill in the value without pem header ( refer to UAT value)
Find the preset test case, but remember to change the sim_id to the actual sim_id that exists in your organisation production environment.
Or you could run a single case from the API
Support
If a request failed unexpectedly, you may submit the unique request id embedded in the response header for further assistance.