Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFi Portal with POST request #6

Open
rautmithil opened this issue Oct 25, 2017 · 0 comments
Open

WiFi Portal with POST request #6

rautmithil opened this issue Oct 25, 2017 · 0 comments

Comments

@rautmithil
Copy link

WiFi credentials are exposed in the URL when sending with a GET request in softAP mode. I tried to use post method for the same however I can only read the header of the request. Do you know of a way to get the body of post method? The client connection gets closed after receiving the header.
Code:
client.print("<form METHOD='POST' action='/a'><label>SSID: " "</label><input name='ssid' length=32><label>Password: </label><input name='pass'" "length=64 type='password'><input type='submit' name= 'Submit'></form>");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant