RE: sending a JSON string

2018-10-18 Thread Douglas Ruisaard via use-livecode
er so much! Now onto the next challenge... "bulk" uploading a whole slew of data point at once. Cheers Doug Douglas Ruisaard Trilogy Software (250) 573-3935 > > Message: 4 > Date: Wed, 17 Oct 2018 09:14:38 -0700 > From: "Douglas Ruisaard" > To: > Subj

RE: sending a JSON string

2018-10-17 Thread Douglas Ruisaard via use-livecode
ecode@lists.runrev.com' > Subject: Re: sending a JSON string > > Thanks very much, Andre! I appreciate the assistance. I am sure the two > "keys" are correct as I use > them in another portion of the application (an ESP8266 module which sends > data to ThingSp

Re: sending a JSON string

2018-10-17 Thread pink via use-livecode
You can also try this: set the httpheaders to "Content-Type: application/x-www-form-urlencoded" delete URL("https://api.thingspeak.com/channels/564256/feeds.json?api_key=EQKTUQQKVH83D1RE";) - --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278

Re: sending a JSON string

2018-10-17 Thread Douglas Ruisaard via use-livecode
d, 17 Oct 2018 00:10:05 +0100 > From: Andre Alves Garzia > To: How to use LiveCode > Cc: Douglas Ruisaard > Subject: Re: sending a JSON string > Message-ID: <41683bda-81ae-ac2e-1542-7d98f19ec...@andregarzia.com> > Content-Type: text/plain; charset=utf-8; format=flowed >

Re: sending a JSON string

2018-10-16 Thread Andre Alves Garzia via use-livecode
Douglas, I am pasting some code I've built here that should do what you want but when I try it, it returns a 401 error which is an authentication error. On that manual page you linked there is a notice about API keys and Channel keys, so maybe the key on this email is not the correct one. Thi

sending a JSON string

2018-10-16 Thread Douglas Ruisaard via use-livecode
I'll start by apologizing for my abysmal familiarity with HTTP, JSON, and URL's ... I'm hoping someone will have pity and give me a hand! I am trying to send a "command" to a ThingSpeak channel, which is very successfully receiving data from a simple little ESP8266 module. Periodically, I need