I would love ability to output the return headers and the ability to use them as an expression
You can do that by setting Full Response to true
{
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"url": "https://api.mocki.io/v1/b043df5a",
"options": {
"fullResponse": true
}
},
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
640,
300
]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
}
}
I feel so stupid now -_-’
Thank you
In the end i ended up solving my entire problem using puppeteer to navigate to the page and extracting the token needed(every 5 minutes using a cron job in n8n) to a txt file and loading it in n8n as an expression as it almost seemed impossible to do with n8n