greptilian logo

IRC log for #rest, 2017-03-17

https://trygvis.io/rest-wiki/

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:30 fuzzyhorns joined #rest
00:31 tbsf joined #rest
01:00 tbsf joined #rest
03:44 tbsf joined #rest
07:45 tbsf joined #rest
09:29 interop_madness joined #rest
09:56 WhippingBoy joined #rest
11:36 bleb joined #rest
11:36 bleb left #rest
11:36 bleb joined #rest
11:48 bleb I'm writing a program that sends IP addresses to a firewall server, telling the server to block said IP address. Would HTTP PUT be appropriate for this?
12:17 pdurbin sure, sounds fine
12:32 bleb I was not sure because PUT is meant to create a resource at a given URL, and if it do PUT http://10.0.0.1/block/<ip>/, I'm not really creating a resource there
12:38 pdurbin PUT is idempotent, if that helps
12:48 bleb yeah that's why I figured it would be better than POST at least
15:24 sgfgdf joined #rest
15:41 tbsf joined #rest
15:41 sgfgdf hello, guys! any good patterns on how to implement mass/bulk delete on a resource? for example "/posts". a way to delete multiple and a way to delete all (like truncate).
16:21 rxo joined #rest
16:30 impl bleb: maybe you want to think of it more like the IP address is the resource: e.g. PUT status=blocked to http://yourservice/ips/4.2.2.1/
16:38 wsieroci joined #rest
17:25 tbsf joined #rest
17:26 tbsf joined #rest
17:54 wsieroci joined #rest
19:40 wsieroci joined #rest
20:22 foist joined #rest
20:24 foist_ joined #rest
20:26 wsieroci joined #rest
21:09 tbsf joined #rest

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

https://trygvis.io/rest-wiki/