Add "Response -> Cookie" template tag
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
The `{% response %}` template tag currently allows us to chain requests and use some attributes from the previous request as templated values. Great! Unfortunately, the cookies of the chained request are not available.
I've got some APIs I need to access which requires you to use a previously fetched cookie as a Bearer Token, so adding this would be very useful.
(I've got some code ready for it in: https://github.com/Kong/insomnia/compare/develop...strokirk:insomnia:response-cookie-attribute?expand=1)
Contributor guide
Research direction
Start at the implementation of the `{% response %}` template tag and inspect the linked response-cookie-attribute comparison for context. Make cookies from the chained request available as templated values, including for use as a Bearer Token, and verify the tag still supports existing chained-request attributes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100