dbudwin / RoboHome-Web

RoboHome-Web is the codebase that represents the frontend of the RoboHome project. The web interface provides a way to create users, add and manage devices, and an additional way to control devices. :robot: :house_with_garden:
GNU General Public License v3.0
8 stars 17 forks source link

Corrected method from POST to GET for MQTT settings #140

Closed dbudwin closed 6 years ago

dbudwin commented 6 years ago

Description

Noticed while developing the ESP-8266 that this should be a GET instead of a POST since there is no body of the request and we're only asking for information.

Motivation and Context

Using the correct method is important for readability. Also makes the ESP-8266 code a bit nicer.

How Has This Been Tested?

All unit tests pass.

Screenshots (if appropriate):

Types of changes

Checklist: