HTTP Request call

Describe the problem/error/question

What is the error message (if any)?

N/A

Please share your workflow

HTTP API Get request

https://{{ $json.IP }}:444/api/v2.0/accounts/{{ $json.AccountName }}
Is it possible to define {{ $json.IP }}
if Production given , then IP become 1.1.1.1
If non-production / uat, then IP become 10.10.10.10

(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:

If you’re trying to fill in a value for IP within your workflow, you could use an Edit Fields (set) node with the Include Other Input Fields option enabled.

Is that what you are trying to do?

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.