Replies: 1 comment
-
Found a workaround: const request = insomnia.requests.find(req => req._id === insomnia.activeRequestId); Still clunky, but if this is the way to go, then close the issue. Also: This is missing in documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently in order to get current request's body, I have to use
which is not ideal since I am using hardcoded string. Wouldn't it be better if it was like this:
This way assertions can be made based on what parameters were passed
Beta Was this translation helpful? Give feedback.
All reactions