Getting Yun to navigate to Https URL

Hi Guys,

I'm trying to get my Arduino Yun to visit a google docs website so that it can submit a form for data logging in a spreadsheet.

The address is something like: https://docs.google.com/forms/d/XXXXXXXXXXXXXXXX/formResponse?draftResponse=[] &entry.1761898895=65&entry.1191491650=04/25/14&entry.365729689=11:30:233

I know that the URL is correct because I verified that the spreadsheet is updated when I manually enter this URL into the browser on my computer.

But I can not get my Arduino Yun to visit the website.

Is it because it is https vs http? the request is on the linux side so it should be okay shouldn't it?
I've used runShellCommand("curl " https://docs.google........ but its not working, maybe im not using it right?
I tried using same procedure that the Arduino HTTP client example uses but still no luck.

I ran the HTTP client example and all good! I have no idea whats going on.

Thanks for any help

Google_Doc_Spreadsheet.ino (4.45 KB)

http://forum.arduino.cc/index.php?topic=198347.msg1569706#msg1569706

Thanks for the link. This looks like a good way to go.

I have no experience with python or even how to run the python script. So heres what I know and a few questions.

  1. I know how to SSH in to the Yun and install those few packages listed.

  2. I think I use process and use runShellCommand to tell the linux processor to run the python script. ChuckEM put this command in void setup(). Why wouldnt it be in the void (loop) section so the script runs every time I tell it to to log a piece of data? Or is it that once its running it will send and receive data set intervals?

  3. I have to use bridge to get data from the Arduino side.

  4. Where do I put the python code and how do I put it there?

If you're new to python, my advice is to use Temboo, SendDataToGoogleSpreadsheet example in particular. Once you've achieved your successful result, you can move learning python