Maybe I’m too stupid, but after 2 days of searching, I still haven’t found an answer.
I was given the task, I need to get the parameter value from json, for example:
https://reqres.in/api/users/2
{
“data”: {
“id”: 2,
“email”: “[email protected]”,
“first_name”: “Janet”,
“last_name”: “Weaver”,
“avatar”: “https://reqres.in/img/faces/2-image.jpg”
},
“support”: {
“url”: “Reqres - A hosted REST-API ready to respond to your AJAX requests”,
“text”: “To keep ReqRes free, contributions towards server costs are appreciated!”
}
}
And I only need to get the value of the id and email parameter, how can I do this with postman