Go Down

Topic: GeoLocation API with Arduino Yun  (Read 1 time) previous topic - next topic


Can you please let me know how to use POST request with Arduino Yun? Trying to use Google Geolocation API but couldnt find the right commands.


Please let me know which example sketch can help me. Unfortunately I could not find a working way by using curl and Webhook widget from Blynk.

Any help is appreciated.


Mar 11, 2017, 01:47 am Last Edit: Mar 11, 2017, 01:50 am by sonnyyu
HttpClient use curl, and curl need root CA install, to support HTTPS POST ( as well as GET) , The root CA is needed.
I compile ca-certificates for get rid of "--no-check-certificate" at wget.
Code: [Select]
wget -O ca-certificates_20140325_ar71xx.ipk https://www.dropbox.com/s/rmvkunea1ifa9zn/ca-certificates_20140325_ar71xx.ipk?dl=0 --no-check-certificate

Code: [Select]
opkg update
opkg install openssl-util
opkg install ca-certificates_20140325_ar71xx.ipk

I compiled ca-certificates_20140325_ar71xx.ipk long time time ago, use it as Caution

Go Up