I am trying to read a text file from my website using a WebClient or HttpWebRequest in C#, however they always return that I need to enable JavaScript, when this is just a text file (however, it contains basic HTML)
Is there any way to make my website not need JavaScript for .txt files, or a different method to fix this?
This is what I get (aside from a clunk of html)
This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support
Thank you.