3 ms·
How do you deal with state between API calls? (For example, a user filling a shopping cart, getting discounts based on their geo/products and then checking out)
by inglor 4y ago
How do you deal with state between API calls? (For example, a user filling a shopping cart, getting discounts based on their geo/products and then checking out)
- ushakov 4y agoHello, this is Mish from Step CI Thanks for your question! We allow you to capture content like headers, response and cookies between steps using captures, check out the "Captures" example in our Demo Here's a documentation with examples for all capture types: https://github.com/stepci/stepci/blob/main/docs/workflow-syntax.md#teststeststepsstepcaptures https://github.com/stepci/stepci/blob/main/docs/workflow-syn... also: we manage cookies for you automatically
- fernandopj 4y agoDoes capture implement what I'm trying to discuss here? https://github.com/stepci/stepci/discussions/17 https://github.com/stepci/stepci/discussions/17
- ushakov 4y agoI answered you on GitHub!