I’m using a Web Dev doGet() script to grab a filestream from an SQL database that is then displayed using a PDF viewer component. Since the list of files changes as users upload more files to the database, I can’t just make a different doGet() for every single file. Instead, I want to use a dropdown to select the file name from a list, then use the a query in the doGet functions that will grab the filestream for that corresponding name.
I’m running the doGet script from a push button using a system.net.httpGet() function. The only part I’m missing is how to pass a parameter from the push button script to the Web Dev doGet() function.
I think this can be done by passing a parameter through the headerValues parameter in the system.net.httpGet() function, but I’m not entirely sure how HTTP headers work.
Thanks for any help.