Hi all -
Just getting started with Postman (impressed so far). I’ve inherited a collection file from someone. Among others, it has this entry:
"name": "Log In",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"email\": \"mzimmers@fluidra.com\",\n\t\"password\": \"mypassword\"\n}"
},
"url": {
"raw": "https://{{environment}}.zodiac-io.com/users/v1/login",
"protocol": "https",
"host": [
"{{environment}}",
"zodiac-io",
"com"
],
"path": [
"users",
"v1",
"login"
]
}
},
"response": []
}
I’d like to get my password out of this file and put it in a variable. This entry is using the “body” for entering these values; can I somehow use variables here?
Thanks…