HTTP Response
HTTP Request
Host
6LPSOH/LQNŒ
Device
Client
x
AP
Product
Read ROM
File
GET /index.html
HTTP Request
POST /API1
Process API
HTTP Response
Introduction
137
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
HTTP Server
9.1
Introduction
The SimpleLink Wi-Fi device includes a built-in HTTP server that lets the end-user remotely communicate
with the device. This chapter describes the internal HTTP server capabilities and the relevant API. The
SimpleLink HTTP server consists of the following:
•
HTML pages stored on the file system
•
Content generated on the fly by the host
•
Hard coded configuration pages permanently stored in the ROM of the device
9.1.1 Built-in Configuration Pages
These web pages are stored in the SimpleLink device ROM, and allow for changing and reading many of
its setting through a web interface commonly used in many routers and access points, as shown in
. The pages are completely self-contained, and no host involvement is necessary for their
function.
Figure 9-1. Configuration Pages
9.1.2 RESTful APIs
A reserved set of resource names may be used to configure various parameters in the SimpleLink Wi-Fi
device directly, through HTTP requests with no host application involvement.
9.1.2.1
Changing Configuration
Settings are changed through HTTP POST requests to hard coded resource names. This is handled by
the device and transparent to the host, as shown in
.