You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The syntax `{{login.response.body.$.token}}` represents the bearer token:
261
261
262
-
**`login`**: Is the request name.
263
-
**`response`**: Refers to the HTTP response object.
264
-
**`body`**: Refers to the body of the HTTP response.
265
-
**`$`**: Represents the root element of the JSON document in the response body.
266
-
**`token`**: Refers to the specific property within the JSON document.
262
+
***`login`**: Is the request name.
263
+
***`response`**: Refers to the HTTP response object.
264
+
***`body`**: Refers to the body of the HTTP response.
265
+
***`$`**: Represents the root element of the JSON document in the response body.
266
+
***`token`**: Refers to the specific property within the JSON document.
267
267
268
268
Without using request variables you would need to manually extract the token from the login response and include it in the header of subsequent requests. Request variables enable you to automate this process.
0 commit comments