HTTP request node - passing arguments to url

I am attempting to get some data from a web page.. I am looping through tickers to get the data, so I figured I could pass the ticker symbol into the URL.

IE: Agilent Technologies (A) Financial Ratios

this returns the accurate data

Where “a” is the ticker symbol. If I send the request without the ticker as an argument, the function works fine and I get the quarterly data like advertised.. If I attempt to pass the same value in via the previous nodes output, the query parameters don’t get passed along with it..

This returns the data for the page without the parameters of “quarterly”, which it defaults to annual..

Is there a better way, or right way, to pass the value into the URL?

You are using two different URLs - in one the ticker is lowercase (a) and in another - uppercase (A). Unify the case and the results will be the same.

1 Like

Hey @Myk3

I understand the issue you’re facing — it seems like the query parameters are not being passed correctly when dynamically inserted into the URL. This is often due to how the query parameters are handled.

as you can see in the above image i tried to create the basic workflow which triggers manually and the custom node just return the value “a” and the https node get the value and executes the operation of fetching data.

i have setted up above things in my http node i think your dynamic value passing logic is correct but you are passing the query parameters within the url directly but it is not optimized way pass the query parameteres into specific query parameters filed.

Also there can be the issue of case-sensivity because in the first image “a” value is small and in another image the inputted value “A” is capital

I hope this solution I provided resolves your issue! It should ensure that the ticker symbol and query parameters are passed correctly in the URL for the quarterly data. If the problem persists or if something doesn’t work as expected, please share more details or error messages, and I’ll be happy to dive deeper and help you get this sorted out.

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