juke wrote:In the code example.ino there's wifi.sendHttpRequest("example.com", 80, "GET", "/subdir/index.html", "data sended with request", "url_query_data"); I have tried to form the parameters but the server always replays with page 400 - Bad Request and I have no clue to fix this.
If you look at the source code the library actually has a pretty funny way of handling the query parameters. The string you put into the last send parameter is appended into the URL in one query parameter "q". So it ends up being something like
http://eaxmple.com/subdir/index.html?q=url_query_data
So unless you change things a bit in the library itself you can probably just put a parameter like "xyz?id=01&val=12.4" as the server will then just ignore the extra "q=xyz" parameter.