graphql-request icon indicating copy to clipboard operation
graphql-request copied to clipboard

How can I handle http response header?

Open ooo2003003v2 opened this issue 4 years ago • 1 comments

Hello there. I'm having problem handling the response header. There's only response body in 'then()' how can i get the header from response? Or am I missing something? Thank you.

ooo2003003v2 avatar Mar 17 '20 07:03 ooo2003003v2

Try using rawRequest() instead of request()

baskin avatar Jan 21 '22 13:01 baskin