http
Get
http.get(string: url);var result = http.get("https://google.com");Post
http.post(string: url, string: data);var data = JSON.stringify
({
username: client.name(),
uid: client.uid(),
});
var response = http.post("https://httpbin.org/post", data);
client.print(response);Last updated
Was this helpful?