Describe the problem/error/question
I’d like to create a backend REST API endpoint equivalent with n8n.
However, I can’t seem to get the path parameters.
What is the error message (if any)?
The params attribute is empty and I cannot use it to retrieve arguments from the url path.
I’d like to use those later in my workflow.
Please share your workflow
Share the output returned by the last node
[
{
"headers": {
"host": "budhapp.app.n8n.cloud",
"x-request-id": "739f5f85207d832093570b4abfdc33b7",
"x-forwarded-host": "budhapp.app.n8n.cloud",
"x-forwarded-proto": "https",
"x-forwarded-scheme": "https",
"x-scheme": "https",
"content-length": "277",
"content-type": "application/json",
"accept": "*/*",
"postman-token": "492a3373-e390-462a-80d1-674a3aebce8e"
},
"params": {},
"query": {},
"body": {
"projectId": "e2890986-7167-4425-9643-1d23ee79c184",
"componentId": "74b31e7c-1c60-4260-82b5-5a035836f04e",
"environmentId": "dev",
"logicId": "b4387a41-6716-4951-851f-33db2a66aa87",
"operationId": "83ccafca-7673-4fd6-b18b-9f12387b6776",
"inputs": [
"test"
]
}
}
I would expect to find in params: {“id”: “xxx”}.
Information on your n8n setup
I am using n8n cloud (a test version).