Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't download Json as text
#1
Hello Guys,

I'm trying to retrieve the API results to a text file. I can open in Chrome, but I cant download it. Can you please help me?

Macro Macro295
Code:
Copy      Help
HtmlDoc d
d.InitFromWeb("https://www.cmegroup.com/CmeWS/mvc/Settlements/Futures/Settlements/310/FUT?&tradeDate=12/14/2021")
str sy=d.GetText("Body")
out sy
sy.setfile("C:\BASE\file1.txt")


Messages In This Thread
Can't download Json as text - by lostruler - 12-15-2021, 02:50 PM
RE: Can't download Json as text - by Kevin - 12-15-2021, 05:12 PM
RE: Can't download Json as text - by lostruler - 12-15-2021, 05:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)