Trouble using HTTP Post with Nimblelink cellular modem | ThingSpeak API | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Trouble using HTTP Post with Nimblelink cellular modem
No permission to create posts
March 15, 2020
8:47 pm
New Member
Forum Posts: 1
Member Since:
March 15, 2020
sp_UserOfflineSmall Offline

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.

Any help would be greatly appreciated!thingspeak_attempt.JPGImage Enlarger

sp_PlupAttachments Attachments
March 31, 2020
7:31 am

Forum Posts: 885
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

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.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

huldacormier, bogart, estebanmateo93, mikewrite, onlinebusiness, winzy99

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457