Re: PUT method where is returned data?

2017-02-11 Thread Bob Hall via use-livecode
On Feb 10, 2017, at 9:52 AM, Trevor DeVore via use-livecode wrote: > > I much prefer reading ’the urlresopnse’ in my code than > dealing with ‘it’ which is meaningless until put into another variable. In my defense — it was my attempt at figuring out where PUT put the response data. I was des

Re: PUT method where is returned data?

2017-02-10 Thread Trevor DeVore via use-livecode
On Fri, Feb 10, 2017 at 9:43 AM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > Thank you, Trevor. With that explanation I can rest easy, since my older > code only uses GET and POST. > > So to summarize, please let me know if any of the following is incorrect: > > Bo

Re: PUT method where is returned data?

2017-02-10 Thread Trevor DeVore via use-livecode
On Fri, Feb 10, 2017 at 9:10 AM, Dr. Hawkins via use-livecode < use-livecode@lists.runrev.com> wrote: > On Fri, Feb 10, 2017 at 6:52 AM, Trevor DeVore via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > It’s been so long I don’t recall the exact reasons why ‘it’ > > wasn’t used but I

Re: PUT method where is returned data?

2017-02-10 Thread Richard Gaskin via use-livecode
Trevor DeVore wrote: > The urlresponse has been around for a number of years. It was added > so that you can get the response sent back from the server for url > calls. It doesn’t affect how it behaves in any way. Prior to adding > the urlresponse one couldn’t get the server response for PUT … in

Re: PUT method where is returned data?

2017-02-10 Thread Dr. Hawkins via use-livecode
On Fri, Feb 10, 2017 at 6:52 AM, Trevor DeVore via use-livecode < use-livecode@lists.runrev.com> wrote: > It’s been so long I don’t recall the exact reasons why ‘it’ > wasn’t used but I much prefer reading ’the urlresopnse’ in my code than > dealing with ‘it’ which is meaningless until put into an

Re: PUT method where is returned data?

2017-02-10 Thread Trevor DeVore via use-livecode
On Fri, Feb 10, 2017 at 8:47 AM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Devin Asay wrote: > > > On Feb 8, 2017, at 2:02 PM, Richard Gaskin wrote: > > > >> "it" is not longer a valid container for URL responses? > >> > >> I missed that memo. Which version did tha

Re: PUT method where is returned data?

2017-02-10 Thread Richard Gaskin via use-livecode
Devin Asay wrote: > On Feb 8, 2017, at 2:02 PM, Richard Gaskin wrote: > >> "it" is not longer a valid container for URL responses? >> >> I missed that memo. Which version did that change take place in? >> >> My understanding is that GET requests are simply submitted in a >> LiveCode ‘put URL tUR

Re: PUT method where is returned data?

2017-02-09 Thread Devin Asay via use-livecode
On Feb 8, 2017, at 2:02 PM, Richard Gaskin via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Mark Hsu wrote: >> On Feb 8, 2017, at 10:05 AM, Bob Hall wrote: >> >> PUT tJsonData into URL tURL >> >> put the result into tResult >> >> put it into tResult2 >> >> I would of thought that

Re: PUT method where is returned data?

2017-02-08 Thread Richard Gaskin via use-livecode
Mark Hsu wrote: >> On Feb 8, 2017, at 10:05 AM, Bob Hall wrote: >> >> PUT tJsonData into URL tURL >> >> put the result into tResult >> >> put it into tResult2 >> >> I would of thought that either the result or it would have the data >> > > Try the urlResponse: > > PUT tJsonData into URL tURL

Re: PUT method where is returned data?

2017-02-08 Thread Mark Hsu via use-livecode
Try the urlResponse: PUT tJsonData into URL tURL put the urlResponse into tResult Regards, Mark Hsu Canela Software mar...@canelasoftware.com > On Feb 8, 2017, at 10:05 AM, Bob Hall via use-livecode > wrote: > > 8.1.2 Indy with Desktop App

PUT method where is returned data?

2017-02-08 Thread Bob Hall via use-livecode
8.1.2 Indy with Desktop App I am using an API that uses the PUT method for some of the calls. JSON is sent with server data as JSON. I can’t figure out how to access the returned JSON data from the PUT call. I can not effect the API call. It's a commercial SAAS application. Here’s my snippet o