Negasus

Untitled

Jan 26th, 2015
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. char buf[80];
  2. if (rserver.connect()) {
  3.    buf = "GET /api/send/?sensor=temperature&value=10&hash=hash HTTP/1.0"; // не помню, так надо присваивать с этом языке?
  4.    rserver.println(buf);
  5.    rserver.println("Host: spirit.negasus.ru");
  6.    rserver.println();
  7. }
Advertisement
Add Comment
Please, Sign In to add comment