Describe the problem/error/question
hello,
I am revamping the http request node, one of the requirements is that the url section be changed to options and that the data be dynamically retrieved from the database, users can choose from the url options provided. However, I found that the rendering of options seemed to be static, and the nodes were used after the construction, making it difficult to call the api or read the json for dynamic rendering of this information, is there any way to fulfill this requirement?
displayName: 'URL',
name: 'url',
type: 'options',
default: '',
description: 'The URL to make the request to',
required: true,
options: [
{
name: 'http://example.com/test1',
value: 'http://example.com/test1'
},
{
name: 'http://example.com/test2',
value: 'http://example.com/test2'
},
{
name: 'http://example.com/test3',
value: 'http://example.com/test3'
},
]
},
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: