vendredi 14 août 2020

Postman: how i can get a value from url of get-request in post request?

I send a post-request by Postman. I have recived answere, wich consisted from post and get requests in Console:

Exmpl:
post-reguest https://domain/oauth2?response_type=token
get-request https: //domain/Result?response_type=token&&result=success#access_token=some_token

I'd like to get a value "some_token" from get-request and whrite her in variable of Enviroment in Test (Postman).

How I can do it?

Aucun commentaire:

Enregistrer un commentaire