greptilian logo

IRC log for #rest, 2015-10-07

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:13 sulky joined #rest
00:15 bluezone joined #rest
00:23 anth0ny joined #rest
00:49 fuzzyhorns joined #rest
00:50 ralphschindler joined #rest
00:53 saml joined #rest
01:24 ralphschindler joined #rest
02:12 fuzzyhorns joined #rest
02:26 baweaver joined #rest
02:58 dEPy joined #rest
03:06 fuzzyhorns joined #rest
04:04 dEPy joined #rest
04:20 ralphschindler joined #rest
04:26 fuzzyhorns joined #rest
04:58 vanHoesel joined #rest
07:02 fuzzyhorns joined #rest
07:18 timg___ joined #rest
08:01 rosstuck joined #rest
08:10 chthon joined #rest
08:43 fuzzyhorns joined #rest
09:06 sfisque1 joined #rest
09:11 graste joined #rest
09:30 mezod joined #rest
10:26 fuzzyhorns joined #rest
10:53 interop_madness joined #rest
11:49 timg___ joined #rest
11:56 eschmidbauer joined #rest
11:56 eschmidbauer left #rest
12:04 eschmidbauer joined #rest
12:04 eschmidbauer left #rest
12:08 fuzzyhorns joined #rest
12:21 wavded joined #rest
12:26 eschmidbauer joined #rest
12:27 ralphschindler joined #rest
13:04 rosstuck joined #rest
13:17 wavded joined #rest
13:24 jackeroo_marc joined #rest
13:31 chthon joined #rest
13:41 fuzzyhorns joined #rest
13:43 ralphschindler joined #rest
13:52 eschmidbauer left #rest
14:06 ralphschindler joined #rest
14:59 bluezone joined #rest
15:39 ralphschindler joined #rest
16:33 baweaver joined #rest
16:40 ralphschindler joined #rest
16:56 vioz joined #rest
16:57 vioz what's the proper http status code to indicate session expiration?
16:58 vioz microsoft uses 440, but i don't think it's standard across browsers
16:59 whartung I just use 401
17:09 fuzzyhorns joined #rest
18:11 dorei joined #rest
18:11 dorei hello
18:16 jackeroo_marc joined #rest
18:17 dorei let's say i have an object album that's associated with an object arist and an object publisher, how do i create it in a rest way?
18:17 dorei find or create artist, find or create publisher and post album?
18:23 fumanchu that's probably a good start
18:25 dorei hm, this find or create, should it take place on the client side or on the server side?
18:26 fumanchu ?
18:26 dorei the client could search for the artist, and if not found issue a post to have it created
18:27 dorei the same for the publisher
18:27 fumanchu correct
18:27 dorei or the artist/publisher info could be part of the post album
18:27 dorei where the server would check if they exist and create them
18:27 dorei i dont like this approach but invloves fewer http requests
18:28 fumanchu I've used that pattern occasionally; it works much better for "subresources" which are truly contained by the album, not just related
18:29 dorei contained :)
18:29 dorei btw, is there some rfc for REST?
18:29 fumanchu where "contained" means "if you delete A, then B gets deleted implicitly"
18:30 bigblind joined #rest
18:30 fumanchu there's no single RFC because REST is an architectural style, not a protocol or media type
18:31 dorei well, a collection of RFCs maybe
18:31 fumanchu however, some protocols and/or media types may be designed to work in, and even sometimes encourage, a RESTful architecture
18:32 fumanchu there's this one called the "Hypertext Transfer Protocol", that's one that encourages a RESTful architecture
18:32 fuzzyhorns joined #rest
18:33 fumanchu (mostly because the REST architectural style is what informed its constraints)
18:33 dorei also, will i burn in the rest hell if i always use put instead of patch? :D
18:34 fumanchu nope
18:34 fumanchu if you GET with side-effects, maybe :)
18:38 anth0ny joined #rest
18:41 jackeroo_marc joined #rest
18:46 saml do you use yaml for representation?
18:50 trygvis didn't json kill yaml?
18:53 fumanchu yaml is that cadaver in the freezer that won't stop twitching
18:53 trygvis I though that was xml?
18:53 fumanchu oh no, xml is roaming the land eating brains
18:53 dorei xml is enteprise, it can never die :D
18:59 trygvis true that
19:21 Coldblackice_ joined #rest
20:05 fuzzyhorns joined #rest
20:41 anth0ny_ joined #rest
21:11 anth0ny joined #rest
21:31 anth0ny_ joined #rest
21:38 fuzzyhorns joined #rest
21:42 mezod joined #rest
22:03 fuzzyhorns joined #rest
22:45 anth0ny joined #rest
23:44 simonv3 joined #rest

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

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