Skip to content

Fix bug #17

@28598519a

Description

@28598519a

}while(line.length() == 0);

To avoid stuck in the loop, if losing connection here, replace
}while(line.length() == 0); to }while(line.length() == 0 && connected());

client->setContentTypeHeader("application/json");

For esp8266 v2.4.2 upper library, add
client->setInsecure();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions