You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@zxbyoyoyo Hello! I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer. Let's tackle this together!
I found a similar unsolved discussion titled "Why this not work" which might be related to the issue you're experiencing [1].
Regarding your issue with the HTTP node not supporting variable substitution in URLs, the Dify codebase does have functionality for handling variable substitution. The HTTP node is implemented in api/core/workflow/nodes/http_request/executor.py, where the _init_url method uses the VariablePool to substitute variables in the URL [2]. Additionally, there are test cases that verify this functionality, such as the test_template function, which demonstrates variable substitution in URLs, headers, and parameters [3].
If the substitution is not working as expected, it might be worth checking if the variables are correctly defined and accessible in the VariablePool. If the issue persists, reviewing the test cases might provide insights into how the substitution is intended to work.
crazywoola
changed the title
http node , not support setting variables in url
http node does not support setting variables in url
Nov 27, 2024
laipz8200
changed the title
http node does not support setting variables in url
http node does not support setting variables in url in the single step test
Nov 27, 2024
Self Checks
Dify version
v0.12.1
Cloud or Self Hosted
Cloud
Steps to reproduce
✔️ Expected Behavior
automatically replace variable values in url
❌ Actual Behavior
not replace
The text was updated successfully, but these errors were encountered: