Http To Https - Talk to https only APIs #1012
Replies: 9 comments
-
Posted at 2016-08-15 by @gfwilliams Wow, that's awesome. Thanks! It's quite fun to provide an insecure way to access secure-only things :) If only you could register |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-09-03 by @MaBecker @ducky like to use this httptohttps.xyz to access fencer.io Fencer is working with data in header and returns json. so like to try the bridge with curl to find if a position is in a fence like this: curl Can the bridge handle something like this ? Next step is to use js on espruino ;-) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-09-03 by MrTimcakes Yeah that works no problem, after I added custom header support ;) I̶t̶ ̶s̶h̶o̶u̶l̶d̶ ̶w̶o̶r̶k̶ ̶w̶i̶t̶h̶ ̶h̶t̶t̶p̶.̶r̶e̶q̶u̶e̶s̶t̶ ̶b̶u̶t̶ ̶I̶ ̶c̶a̶n̶'̶t̶ ̶g̶e̶t̶ ̶a̶n̶y̶ ̶f̶o̶r̶m̶ ̶o̶f̶ ̶t̶h̶a̶t̶ ̶t̶o̶ ̶w̶o̶r̶k̶,̶ ̶e̶v̶e̶n̶ ̶i̶f̶ ̶t̶h̶e̶r̶e̶ ̶i̶s̶n̶'̶t̶ ̶a̶n̶y̶ ̶c̶u̶s̶t̶o̶m̶ ̶h̶e̶a̶d̶e̶r̶s̶.̶ And ready for Espruino here you go:
Something strange happens if I try add data to contents though, it just returns false, that's why I thought I couldn't get it to work. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-09-04 by @MaBecker Thanks - that was quick ;-) This is what a verbose curl call gets when adding valid header data:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-09-04 by @MaBecker ok - took the sample code, added keys and headers - works fine - thanks again. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-09-22 by @MaBecker Hi @ducky this link points to a sample Espruino module named FencerIO.js to call fencer.io using your bridge |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-01-23 by Will @Patreon is this site still available? Can others use it? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-01-24 by @gfwilliams I believe it's @MrTimcakes that develops it. While that link is dead it looks from http://forum.espruino.com/conversations/305047/?offset=25 like it's alive at |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-01-24 by Ollie Looks like it's still on the domain, but on "www" rather than the apex -> http://www.httptohttps.xyz/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-08-13 by MrTimcakes
While creating a subscriber display for my girlfriends YouTube channel with my original Espruino I ran into an issue where the Google YouTube Data API only accepts connections over Https. The original Espruino, and ESP8266 builds, don't support https like the Pico so I created httptohttps.xyz to bridge the Espruino to the Https only service.
Check out http://httptohttps.xyz/ for how to use it, I tried to make the homepage look nice. You can use the service however you'd like but I can't promise any up-time or reliability guarantees and I ask that you don't use it for commercial purposes.
Example (This is on an ESP as an Espruino)::
prints "MrTimcakes is from: Great Britain"
I will gladly take, and even ask for, suggestions to improve the service like Headers n' stuff.
I will shortly make this open-source too.
Beta Was this translation helpful? Give feedback.
All reactions