March 15, 2020
Hello, I have been trying to update data to channel using HTTP POST method. I am trying to use a nimblelink CAT 1 LTE cellular modem. I keep getting a "remote peer has closed the connection" error. I'm currently using a development kit to interface directly with the cell modem but will switch over to a microcontroller once I have this figured out. I am currently using AT commands, I am attaching a screenshot of my attempt to update via an HTTP Post.
March 7, 2017
Perhaps play with the content length. I think its too short. A POST needs and extra new line at the end. I think the server is getting to the end of the content length before the content and new line is done.
Also you might have an easier time with a GET request. You can update the channel with a GET and the syntax is more simple. Does your hardware support a GET?
FYI, MATLAB answers is the preferred location for ThingSpeak Community support.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:briskpanda, Dejw0089, Yassine Ben Salah, anis, 43994554AKS, suda
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457