-
Notifications
You must be signed in to change notification settings - Fork 24
BaseAddress
Miriam McMahon edited this page Apr 27, 2023
·
6 revisions
Set the base address to use in HTTP requests
Parameter Name | Description | Type | Resolved Type | Required |
---|---|---|---|---|
Address | The base address to use in future HTTP requests | Value | String | Yes |
This command was introduced in Safeguard 2.8
Example:
{
"BaseAddress": {
"Address": "https://example.com/api"
}
}
Example: use a variable to identify the url:
{
"SetItem": {
"Name" : "MyUrl",
"Value": "https://example.com/api"
}
},
{
"BaseAddress": {
"Address": "%{ MyUrl }%"
}
}