401 Unauthorized request in postman student expert training




Hello all,
As per the training, I have created a new request called 2. Add request to hit the postman “training_api” with a post request. I have also created the “email_key” variable.
Still I am getting 401 response.
Please suggest me on how to resolve this issue.

1 Like

@cryosat-explorer-653 Welcome to the Community :partying_face:

Please ensure that you have selected the Auth type correctly as “Inherit auth from parent” and I see that the “Add Match” request is unsaved. So please save it and try again.

I faced the same issue.

Try adding the request body in the following format-

{
“against”:“Academical”,
“match”:“Cup Final”,
“when”: “{{$randomDateFuture}}”
}