Re: DELETE url

2019-07-06 Thread J. Landman Gay via use-livecode
This has been a fascinating discussion and you guys have been very helpful. Gotta thank Charles for the ready-made handler and Stephen for the even shorter one. I read Charles' first and told the Rails programmer that I could indeed send DELETE but it would take some scripting I'd never used b

Re: DELETE url

2019-07-06 Thread Dar Scott via use-livecode
Oh, RFC2616 is so twentieth century. However, RFC7231 HTTP/1.1 agrees with the responses: 200 (OK), 202 (Accepted), or 204 (No Content). It does have a couple examples that seems to indicate that DELETE might be used for logout, should one have imagination: DELETE might be used to remo

Re: DELETE url

2019-07-05 Thread Mark Wieder via use-livecode
On 7/5/19 6:13 PM, Dar Scott Consulting via use-livecode wrote: And an aside. Off topic. I guess I am old-school. I know it is the fad, but using DELETE to logout seems goofy. Yeah, you can make a URL that looks like a session and you are deleting the session. But it seems that is like using H

Re: DELETE url

2019-07-05 Thread Stephen MacLean via use-livecode
This works for me: delete URL(tPostURL) tPostURL is the URL you want to send the delete to. The URL can include an API call, authentication token, etc. I do have LC Business, but don’t need to use tsNet for this specifically, although I do use it for some other things. You can find all the

Re: DELETE url

2019-07-05 Thread Dar Scott Consulting via use-livecode
der httpstat.us <http://httpstat.us/>, >> httpbin.org <http://httpbin.org/> or others for safe testing. >> I haven't tested, but I'd think that 'delete URL >> "http://www.example.com/oldthings.txt >> <http://www.example.com/oldthings.txt>

Re: DELETE url

2019-07-05 Thread Dar Scott Consulting via use-livecode
x27;t know where to start with tsNetCustom(), but I'll investigate. > Suggestions welcome, provided it works on mobile. > > On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >> Testing DELETE is scary. Consider httpstat.us <http://httpstat.us/>

Re: DELETE url

2019-07-05 Thread Charles Warwick via use-livecode
ome, provided it works on mobile. >> >>> On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >>> Testing DELETE is scary. Consider httpstat.us <http://httpstat.us/>, >>> httpbin.org <http://httpbin.org/> or others for safe testing. >>&

Re: DELETE url

2019-07-05 Thread Stephen MacLean via use-livecode
t; I wouldn't know where to start with tsNetCustom(), but I'll investigate. > Suggestions welcome, provided it works on mobile. > >> On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >> Testing DELETE is scary. Consider httpstat.us <http://httpstat.us/&

Re: DELETE url

2019-07-05 Thread J. Landman Gay via use-livecode
in.org/> or others for safe testing. I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt <http://www.example.com/oldthings.txt>"' should work. You might need to pass along some auth: delete URL "http://badwolf:swordf..

Re: DELETE url

2019-07-05 Thread Dar Scott Consulting via use-livecode
Testing DELETE is scary. Consider httpstat.us <http://httpstat.us/>, httpbin.org <http://httpbin.org/> or others for safe testing. I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt <http://www.example.com/oldthings.txt&g

DELETE url

2019-07-05 Thread J. Landman Gay via use-livecode
I need to send a DELETE to a server. I only know of PUT, GET, and POST options. Does tsNet support DELETE? If not, how would I do that? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: delete Url on mobile

2013-07-30 Thread Thomas McGrath III
; Can you delete a file on mobile if it is in the engine folder? >>delete URL ("file:" & specialFolderPath("engine") & "/" & tName) > > I doubt it. I believe the commandment is: thou shalt not write, nor edit, nor > delete, nor add to the

Re: delete Url on mobile

2013-07-29 Thread J. Landman Gay
On 7/29/13 9:19 PM, Thomas McGrath III wrote: Can you delete a file on mobile if it is in the engine folder? delete URL ("file:" & specialFolderPath("engine") & "/" & tName) I doubt it. I believe the commandment is: thou shalt not write, no

Re: delete Url on mobile

2013-07-29 Thread Gerry Orkin
On iOS at least you can't change the binary at run time in any way. Apple won't allow it. g On 30/07/2013, at 12:19 PM, Thomas McGrath III wrote: > Can you delete a file on mobile if it is in the engine folder? > delete URL ("file:" & specialFolderPath(&qu

Re: delete Url on mobile

2013-07-29 Thread Thomas McGrath III
Neither one of these works in the simulator? delete URL ("file:" & specialFolderPath("engine") & "/" & tName) delete file (specialFolderPath("engine") & "/" & tName) -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@ma

delete Url on mobile

2013-07-29 Thread Thomas McGrath III
Can you delete a file on mobile if it is in the engine folder? delete URL ("file:" & specialFolderPath("engine") & "/" & tName) Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com