How to filter a raw body response? #3063
Unanswered
hpohlmeyer
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am currently working with an API, that has a
/login
route, which responds with a token in the response body.I would like to store the token in an environment variable to use it for authentication.
If I use the raw body response the the quotes are considered part of the token, which breaks my authentication.
I have tried to remove the quotes with this:
But that fails with
TypeError: Cannot read property 'typename' of null
. My guess is, that the response is async and the filter has problems with async content …Is there a way to remove the quotes from the body?
Beta Was this translation helpful? Give feedback.
All reactions