myAccessToken
variable is set to empty string before the request is executed.Request
or Response
as the main data source. In both cases, the rest of the configuration is the same but it uses either request or response values.Url
, Status code
, Headers
or Body
. url
:api.domain.com
protocol
- Returns URL's protocol, e.g. https:
path
- URL's path, e.g. /path/to/resource.json
query
- Returns full query string, e.g. version=1&page=test
query.[any string]
- Returns the value of a query parameter. For query.version
it would return 1
and for query.page
the value will be test
.hash
- Returns everything that is after the #
character, e.g. access_token=token&state=A6RT7W
hast.[any string]
- It treats hash as query parameters and returns the value of the parameter. For hash.access_token
it would return token
https://auth.domain.com/auth/oauth-popup?version=2&remember=true#access_token=z8a1d97c-c4e6-488f-8ac0-a32e3d749f49&token_type=bearer&state=Y2I1CD
data.0.name
. This will get value name
from the first item of the data
array.path
is set you can define two actions to be performed on the data. You can either permanently Store variable
in the application's internal database or Assign variable
temporarily until you restart the application. The last item is to define a variable name that will be updated with the value.Add condition
button. Source, Type, and Path to data work the same way as in Action editor.Condition value
which is used to compare the data.