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>"' 
should work. 

You might need to pass along some auth:
delete URL "http://badwolf:swordf...@www.example.com/secretthings.txt 
<http://badwolf:swordf...@www.example.com/secretthings.txt>"

If not, you can directly use TCP. It is as easy as a simple GET. It is as hard 
as figuring out simple HTTP.

Or consider tsNetCustom() and use "DELETE" as the request.


Dar Scott
darzLab

> On Jul 5, 2019, at 1:55 PM, J. Landman Gay via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> 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
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to