Reader small image

You're reading from  Developing IoT Projects with ESP32 - Second Edition

Product typeBook
Published inNov 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781803237688
Edition2nd Edition
Languages
Tools
Right arrow
Author (1)
Vedat Ozan Oner
Vedat Ozan Oner
author image
Vedat Ozan Oner

Vedat Ozan Oner is an IoT product developer and software architect, with an excellent blend of technical knowledge and experience. During his career, he has contributed to several IoT projects in different roles, which allowed him to discover all key aspects of developing successful IoT products in highly competitive markets. Vedat has a bachelor's degree in METU/computer engineering and holds several industry-recognized credentials and qualifications, including PMP®, ITIL®, and AWS Certified Developer. Vedat started his limited company, Mevoo Ltd, in London in 2018 to provide consultancy services to his clients as well as develop his own IoT products. He still lives in London with his family.
Read more about Vedat Ozan Oner

Right arrow

Running a RESTful server on ESP32

Representational State Transfer (REST) is basically the client-server architecture for the web. It defines how a client and server communicate over a resource that the server exposes. In fact, we know it from the HTTP protocol as it implements the entire World Wide Web (WWW) document exchange services. A RESTful server publishes a REST API and clients consume it. A client sends a message, such as GET, POST, PUT, or DELETE, to the server for a resource, and the server replies to the client with an HTTP status code, such as 200 OK, 201 Created, or 404 Not Found. There exist many RESTful services on the internet; therefore, REST communication occupies an important place in IoT development. Mozilla provides many articles about HTTP here: https://developer.mozilla.org/en-US/docs/Web/HTTP

We can employ ESP32 as either a RESTful server or a client. When it is a server, we run an HTTP server on ESP32, define resources, and provide handlers for the HTTP...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Developing IoT Projects with ESP32 - Second Edition
Published in: Nov 2023Publisher: PacktISBN-13: 9781803237688

Author (1)

author image
Vedat Ozan Oner

Vedat Ozan Oner is an IoT product developer and software architect, with an excellent blend of technical knowledge and experience. During his career, he has contributed to several IoT projects in different roles, which allowed him to discover all key aspects of developing successful IoT products in highly competitive markets. Vedat has a bachelor's degree in METU/computer engineering and holds several industry-recognized credentials and qualifications, including PMP®, ITIL®, and AWS Certified Developer. Vedat started his limited company, Mevoo Ltd, in London in 2018 to provide consultancy services to his clients as well as develop his own IoT products. He still lives in London with his family.
Read more about Vedat Ozan Oner