RE: sending a JSON string

2018-10-18 Thread Douglas Ruisaard via use-livecode
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: > Subject:

RE: sending a JSON string

2018-10-17 Thread Douglas Ruisaard via use-livecode
gt; 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 ThingSpeak). A > subsequent direc

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:

Re: sending a JSON string

2018-10-17 Thread Douglas Ruisaard via use-livecode
e 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 > > Douglas, > > I am pasting some co

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.

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