fadushin / esp8266

This repository contains source code for the ESP8266.
BSD 2-Clause "Simplified" License
73 stars 22 forks source link

Make a URL debug option in api_handler.py #21

Closed JoeCharlieH closed 1 year ago

JoeCharlieH commented 5 years ago

I'm currently working on a small configuration program for a glucose sensor. The way I configure all the options and user info is by a web server with your module.

Currently, the basic functions I made work pretty good, but sometimes there's an issue with the JSON module in the api_handler file when I use the POST method. It sometimes raises a Bad Request 400 or just proceeds with an OK 200. It's pretty much random.

I don't know if is a Request problem, URL, RAM alloc or something else.

Maybe, if there was an option in api_handler.py to display the URL in the REPL, it could make easy identifying the issue of this problem.

Information: