Http Get

Table of Contents

Example Summary

This application demonstrates how to perform an HTTP GET request.

Example Usage

The connection should have the following connection settings:

Baud-rate:    115200
Data bits:         8
Stop bits:         1
Parity:         None
Flow Control:   None
    

Application Design Details

httpTask - is waiting for ip to be acquired and then creates a connection to the HTTP server. When a connection is established, the application makes an HTTP GET method call using the request URI. The response status code, header fields and body from the HTTP server are processed to get response status code and data. The connection is closed and resources are freed before the task exits.

References

For further information please refer to the user programmers guide: CC3X20 Programmer’s Guide