Extracting name and variables from GraphQL post request body #5767
Unanswered
svoruganti
asked this question in
Q&A
Replies: 1 comment
-
Yes you can use |
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
-
Hi,
Using ASP.Net core middleware, I am capturing GraphQL post request body as string. I would like to extract name and variables from the request string. Are there any built in classes that would allow me to do that. For example, if I have a string representation of following request:
From the above request string, I would like to extract 'user' and variables name and emailAddress along with values. We can extract the data using HotChocolate request middleware, but I want to find out if it is possible to do with http request string/stream i.e., without using HotChocolate request middleware.
Beta Was this translation helpful? Give feedback.
All reactions