Coldfusion code to access historical weather data

  • 1
  • Question
  • Updated 6 years ago
The code sample doesn't work for me.
Is there a working Coldfusion example?
Photo of GuideRichieWhite

GuideRichieWhite

  • 3 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
Photo of GuideRichieWhite

GuideRichieWhite

  • 3 Posts
  • 0 Reply Likes
When I paste that code and run it in coldfusion, I get the following:

Error Occurred While Processing Request
JSON parsing failure at character 1:'C' in Connection Failure

The error occurred in D:\inetpub\wwwroot\Bassfishing\weathertestwu.cfm: line 2
1 :
2 :
3 :
4 :
Photo of GuideRichieWhite

GuideRichieWhite

  • 3 Posts
  • 0 Reply Likes
See http://bassfishing.org/weathertestwu.cfm to see the error.

Please help!!
Photo of musella

musella

  • 2 Posts
  • 0 Reply Likes
If you do a cfdump var="#cfhttp.fileContent#" (I had to leave off the brackets - it hides the code)

after the cfhttp, you will get a little more information..
I just started and all I get is a
"Connection Failure"
Photo of musella

musella

  • 2 Posts
  • 0 Reply Likes
here is one solution... it worked for me:

http://house-of-fusion.10909.n7.nabbl...