graphql-mesh
graphql-mesh copied to clipboard
Get headers from response with SDK
I'm using wordpress API and I need to access headers to get pagination variables. Is it possible to add an option in sdk call to get full response of http request ?
Is there a workaround to get response's headers in SDK ?
Available in the latest version!
You can use the new includeHttpDetails option to get the details of the HTTP response including headers, statusCode etc under httpDetails field.