Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • the empty line is only for requests with body like POST request, to mark the start of the request body Commented Mar 16, 2018 at 19:28
  • @Juraj I tested it in Python by sending it over TCP with only a single pair of "\r\n" and the server didn't respond. Had to be "\r\n\r\n". Commented Mar 16, 2018 at 19:31
  • I looked up the protocol. It requires the empty line after the header for all requests Commented Mar 16, 2018 at 19:43
  • WiFiEsp] Connecting to api.thingspeak.com 13 [WiFiEsp] Disconnecting 3 //now it shows this in serial monitor Commented Mar 17, 2018 at 6:26
  • use the library github.com/mathworks/thingspeak-arduino Commented Mar 17, 2018 at 15:04