Bulk update from android app | 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.
Avatar

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
Bulk update from android app
No permission to create posts
June 13, 2019
9:45 am
Avatar
jdiavec
New Member
Members
Forum Posts: 3
Member Since:
June 13, 2019
sp_UserOfflineSmall Offline

Hi,
i'm trying to make an android application that can update fields from a channel. I have read the "bulk update" from documentation but still i cannot write a properly code to do this . I have test my json file using postman and everything's fine. I want some help how to make the post request inside from the app. I have tried may solution but still nothing. Thanks

June 13, 2019
9:59 am
Avatar
cstapels
Moderator
Members


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

Do you need the bulk update? The regular write data syntax is much more simple, perhaps you could consider that, or at least use it as a starting point?
https://www.mathworks.com/help/thingspeak/writedata.html

June 13, 2019
10:05 am
Avatar
jdiavec
New Member
Members
Forum Posts: 3
Member Since:
June 13, 2019
sp_UserOfflineSmall Offline

Yes i want the bulk update because i want to update many entries per update. I have use the regular write data but for my app is better the bulk update. Thanks

June 13, 2019
10:40 am
Avatar
cstapels
Moderator
Members


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

Does the request from your app fail- do you get a response code ? If it does, then its a formatting issue, and we should be able to help. If that's not the case, then its probably more of an android developer question.

June 13, 2019
10:55 am
Avatar
jdiavec
New Member
Members
Forum Posts: 3
Member Since:
June 13, 2019
sp_UserOfflineSmall Offline

My response code shows me "Not Success - code : 404"

June 14, 2019
10:01 am
Avatar
cstapels
Moderator
Members


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

do you get a 404 for the regular write endpoint as well?

January 4, 2021
12:02 am
Avatar
petersmith98
New Member
Members
Forum Posts: 1
Member Since:
January 4, 2021
sp_UserOfflineSmall Offline

That's a great application. I played it. It's okay. it is very great .

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
35 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:

kusmumichael, petersmith99, Rambant, blakeharriss09, optisol, Niyonzima Fils

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457