I am using a GraphQL API that uses a /login endpoint that then returns the Token to use in subsequent requests in the response header. My question is, is there any way to extract header data from the response. I only see the body of the response, none of the raw request data.
My secondary question is, if getting the header is impossible, does anybody have some docs on how to send GraphQL requests via the HTTPRequest node? I’ve tried this as well and have got nowhere so far.
Update - I was actually able to get a raw HTTPRequest working for this and I don’t see a way to extract headers from this as well which makes me think I just don’t know where to look for this info.
- n8n version: 1.x
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): main
- Running n8n via (Docker, npm, n8n cloud, desktop app): Hosted n8n
- Operating system: Linux