Intro to Postman | Part 5: Chain Requests

preview_player
Показать описание
Learn how to create a simple workflow by chaining multiple requests together in a logical sequence of events. And use Postman variables as a mechanism to pass data from one request to the other.

Fork the Postman Collection
---------------------
If you want to import the Postman collection used in this tutorial, open this link in your browser and click on Fork.

Рекомендации по теме
Комментарии
Автор

I keep on getting 404 error when I try chaining requests for GET and DETELE a repository. I realise this tutorial is 2 years old now, but just wondering if anything changed regarding generating tokens in github ever since that might need updating this tutorial? Just for the record I am able to perform POST calls to create a repo. Many thanks

LucasSilva-vwnt
Автор

I might be missing something, but is there any way to set the variable using a Test script if I don't pre-define it in the Pre-request script? Say I run a request and get a value that I want to pass to the next call. These videos don't seem to cover that...

brandoncox
Автор

Great, thanks a lot for the video. But what if I have a response body which is not JSON object but string. How to write a script extracting value of the variable needs to be used in other requests?

agatajabonska