greptilian logo

IRC log for #rest, 2016-04-28

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:45 quimrstorres joined #rest
00:49 anth0ny joined #rest
01:02 fuzzyhorns joined #rest
01:07 GriffinHeart joined #rest
01:17 GriffinHeart joined #rest
02:13 GriffinHeart joined #rest
02:36 GriffinHeart joined #rest
02:45 GriffinHeart joined #rest
03:04 rowan7 joined #rest
03:11 GriffinHeart joined #rest
04:57 GriffinHeart joined #rest
04:58 tbsf joined #rest
05:23 Devastator joined #rest
05:44 _ollie joined #rest
06:43 NordiQ joined #rest
06:44 HermanToothrot joined #rest
06:44 NordiQ What would be the best pattern to force the server to refresh an external resource? I'm thinking POST path/to/my/resource/refresh
07:01 quimrstorres joined #rest
09:26 HermanToothrot joined #rest
09:30 quimrsto_ joined #rest
10:28 GriffinHeart joined #rest
11:23 interop_madness joined #rest
11:26 GriffinHeart joined #rest
12:30 fuzzyhorns joined #rest
12:57 Devastator joined #rest
13:04 quimrsto_ joined #rest
13:13 quimrsto_ joined #rest
13:32 quimrsto_ joined #rest
13:44 quimrsto_ joined #rest
13:52 quimrsto_ joined #rest
13:58 quimrsto_ joined #rest
13:59 quimrsto_ joined #rest
14:02 DevAntoine joined #rest
14:02 DevAntoine hi
14:02 DevAntoine when doing rest, what's the word delimiter character for parameters? is it an underscore, a hyphen or it's camel case?
14:05 quimrsto_ joined #rest
14:09 quimrsto_ joined #rest
14:10 quimrsto_ joined #rest
14:22 tbsf joined #rest
14:23 fumanchu if you're asking about querystring parameters, it's typical to do ?key=val&key2=val2, but that's not specified by REST or even HTTP
14:26 fumanchu whether you write ?myKey=1 or ?my_key=1 or ?my-key=1 (or dots, or spaces, or whatever) is more a cultural decision than anything else.
14:27 fumanchu even ?{"my key": 1} if that makes more sense and your server-side can parse it
14:28 fumanchu (with appropriate % encoding)
14:34 DrCode joined #rest
14:50 quimrsto_ joined #rest
15:05 fumanchu_ joined #rest
15:13 quimrsto_ joined #rest
15:27 quimrsto_ joined #rest
15:38 quimrsto_ joined #rest
15:54 DrCode joined #rest
15:57 tbsf joined #rest
16:07 maryg joined #rest
16:55 quimrsto_ joined #rest
16:55 Devastator joined #rest
17:08 wsieroci joined #rest
17:31 _ollie joined #rest
17:33 _ollie1 joined #rest
17:37 DrCode joined #rest
18:13 quimrsto_ joined #rest
18:27 Devastator joined #rest
18:36 quimrsto_ joined #rest
18:39 Devastator_ joined #rest
18:48 maryg left #rest
18:54 Devastator_ joined #rest
18:55 wsieroci_ joined #rest
19:11 mooncup joined #rest
19:20 levensailor joined #rest
19:23 levensailor #microsoft
19:26 standardguy joined #rest
19:26 mooncup joined #rest
19:30 levensailor anyone have experience using form inputs as json data and making a rest call in wordpress ?
19:30 mooncup joined #rest
19:32 NoiseEee joined #rest
19:33 NoiseEee hey, is it bad / not REST to have a DELETE route like:   /books/page/:pageToken   but also want to have a POST route like:  /books/page/publish/:pageToken
19:33 NoiseEee (ie: extra level of route under 'page' in one situation, but the id/token in the other)
19:35 fumanchu_ I would expect something more like "POST books/page/:pageToken with some request payload like {"published": true}
19:36 fumanchu_ (actually, I'd prefer PATCH)
19:36 NoiseEee hmm okay thanks!
19:59 bluezone joined #rest
19:59 NoiseEee left #rest
20:29 quimrstorres joined #rest
21:27 tbsf_ joined #rest
21:54 levensailor joined #rest
22:01 tbsf joined #rest
22:02 tbsf joined #rest
23:13 tbsf joined #rest
23:13 tbsf joined #rest
23:38 tbsf joined #rest
23:38 fuzzyhorns joined #rest
23:38 tbsf joined #rest
23:41 tbsf joined #rest

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

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