Get your DID wallet
Use the API to get the DID of your wallet
Dernière mise à jour
Use the API to get the DID of your wallet
Dernière mise à jour
Now, create your first request. You will request to get the information from the wallet you created previously via the UI
Select your collection and right-click. In the list, select add request
The right panel displays a new interface
Replace the name Β« New Request Β» with a relevant name regarding the request you are creating. For example Β« wallet Β»
Keep GET
because you are requesting data from the service
In the URL field, replace by {{Base_URL}}/wallets
When you send the request, {{Base_URL}} will be automatically replaced by the value you have defined previously in the Environment
Save the request
Click on Send
button
Here is the response from the service:
In our example, the DID of our wallet is H9R4MFoMC5oxttYgohABTV
In the environment you set in the previous section "create your test environment", add a new variable and call it walletDIDholder
. Copy the DID your got in the "initial value" columns.
to simplify the edition of your requests, we suggest to create a Pre-request Script to add a variable in the collection-level header.
select your collection (Collection Archipels Connect Holder), and click on the Pre-request Script
tab
copy this script:
Save the configuration