Free AFTERNOON IoT workshop on the RESTful AT&T M2X Data Service APIs
"I just got home from the AT&T workshop tonight and WOW! I am so glad I went."(Chicago attendee)
Interested in the Internet of Things (IoT)? Want to collect and retrieve data from Internet-connected sensors for applications in home, government, and industry through network and programming language agnostic RESTful APIs? Then join us for a hands-on developer workshop!
DevLab is a 3-hour, hands-on coding workshop in which experts from AT&T show you how to work with Internet-enabled devices then provide help as you go through coding examples yourself.
This workshop will provide an introduction and overview of coding an IoT application. Students will be introduced to the theory of coding, tools used to create apps such as Application Programming Interfaces, (e.g., AT&T M2X API) and an opportunity to develop their own IoT app.
I. Introduction and Overview of App Development Coding 101 – Internet of Things.
- What is coding?
- Internet of Things (IoT) overview
II. Hands on DevLab workshop
- Introduction to AT&T M2X API
We will be using the TI CC3200 SimpleLink Launchpad Internet-connected sensor for our lab exercises. Bring your WINDOWS OR MAC LAPTOP and join us for an evening of learning, coding, socializing, and eating! The event is free. We look forward to meeting you!
Technical Details for Lab Exercises(please set up ahead of time)
Installing Postman and cURL for the Lab Exercises
The lab exercises use Postman and cURL so please install them before the event.
We will use cURL for the M2X API lab exercises but you can also use Postman (a free Chrome add-in) if you prefer. You can download Postman at http://www.getpostman.com and the Chrome browser at http://www.google.com/chrome.
For the lab exercises we will use cURL, a powerful command-line tool for making HTTP calls.
Pre-requisites: Windows 7 or later (cURL is already installed on Mac computers)
Use the following steps to install curl:
- Open http://curl.haxx.se/dlwiz?type=bin in a browser.
- Select your operating system in the dropdown box: either Windows /Win32 or Win 64. Click Select!
- For Win 32, choose whether you will use curl in a Windows Command Prompt (Generic) or in a Cygwin terminal (cygwin). For Win 64, choose whether you will use curl in a Windows Command Prompt (Generic) or MinGW (MinGW64). Click Select!
- If required, choose your Windows operating system. Finish.
- Click Download for the version which has SSL enabled.
- Choose a version with support for SSL.
- Open the downloaded zip file. Extract the files to an easy-to-find place, such as C:\Program Files.
- Open up the Windows Command Prompt terminal. (From the Start menu, click Run, then type cmd.)
- Set the path to include the directory where you put curl.exe. For example, if you put it in C:\Program Files\curl, then you would type the following command:
set path=%path%;"c:\Program Files\curl"
- Type curl.
You should see the following message:
curl: try 'curl –help' or 'curl –message' for more information
This means that curl is installed and the path is correct.
You should see JSON returned:
"error": "invalid API request"
SSL certification error
If you see an SSL certification error, add a -k flag into your curl command.
https not supported error
If you get an error that says, “Protocol http not supported or disabled in libcurl”, then you need a different version of curl. Make sure you have downloaded one that says SSL enabled. If you have downloaded the Win64 version, try the Win32 version instead, even if you are on a 64 bit machine.