Reusing a request object #141
Unanswered
Bios-Marcel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I was wondering whether it's possible to reuse a
*Request
or furthermore reset it.My usecase is trying to test whether calling the same request again results in an error.
Maybe my thinking here is wrong, is there an idiomatic httpexpect way of doing this?
EDIT
I guess I can wrap the request into a local function which I can call multiple times. But I was wondering anyways why calling
Expect
multiple times shouldn't be possible.Beta Was this translation helpful? Give feedback.
All reactions