I see! Thanks for the help. I’m trying to use this example to get something off of another website now, and although it connects, it says “Bad Request.” What could that mean? Do you think there is something wrong with my code, or something with the internet connection?
The Spark Core cannot make a HTTPS connection. You’ll have to use a Proxy service for this, such as a PHP script running on a your webhost to forward the HTTP request for you to HTTPS, or wait for Spark Webhooks which will allow you to do the same thing
While we could work through how to do that, I don’t think it’s the FIRST thing I would attempt to do. FIRST thing I would do is go look for an Bitcoin Price Index that’s not SSL encrypted… however, this is a bit risky if you are trying to buy and sell real-time with that data. If you are just making a simple [WOW and FLUTTER meter ¹][1] for BITCOIN prices… this will do just fine though… here’s one:
server, yes… path mostly correct… GET /v1/bpi/currentprice/USD.json HTTP/1.0 let me see if I can put together a full example for you… I’m trying out some new things I haven’t had a chance to play with yet, and it’s proving to be fun… yet challenging.