0

M0 Feather with WINC1500 and IoT!
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Re: M0 Feather with WINC1500 and IoT!

by marso on Fri Apr 29, 2016 2:44 pm

Tried with
"POST /api/v1/feeds/"

but with no luck I'm getting a 404 error.

marso
 
Posts: 20
Joined: Wed Feb 19, 2014 6:06 am

Re: M0 Feather with WINC1500 and IoT!

by Seekatar on Tue May 03, 2016 6:57 am

404 is not found so you're passing in something wrong (hostname, or key maybe). This worked for me from a PowerShell prompt

$baseUri = "https://io.adafruit.com/api/v1"
$feeds = Invoke-RestMethod -Uri "$baseUri/feeds" -Method Get -ContentType 'application/json' -Headers @{'X-AIO-Key'=$aioKey}
$feeds | ft -a

Seekatar
 
Posts: 10
Joined: Wed Mar 09, 2016 9:10 pm

Please be positive and constructive with your questions and comments.