greptilian logo

IRC log for #rest, 2015-09-18

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:10 azr joined #rest
00:41 dEPy joined #rest
01:31 gamache joined #rest
01:52 mezod joined #rest
02:04 alxbl joined #rest
02:12 azr joined #rest
02:17 fumanchu_ joined #rest
02:32 fumanchu joined #rest
02:43 baweaver joined #rest
03:00 saml joined #rest
04:14 azr joined #rest
04:47 dEPy joined #rest
05:46 azr joined #rest
06:35 jackeroo_marc joined #rest
07:18 azr joined #rest
07:22 timg___ joined #rest
07:39 azr joined #rest
08:21 timg___ joined #rest
08:43 azr joined #rest
08:44 interop_madness joined #rest
08:46 timg___ joined #rest
09:14 rosstuck joined #rest
10:10 timg___ joined #rest
10:15 azr joined #rest
11:16 azr joined #rest
11:25 timg___ joined #rest
11:49 timg___ joined #rest
12:18 mezod joined #rest
13:15 _ollie joined #rest
13:16 azr joined #rest
13:25 timg___ joined #rest
13:34 _ollie joined #rest
14:02 timg___ joined #rest
14:09 mezod joined #rest
14:13 _ollie joined #rest
14:30 timg___ joined #rest
14:41 _ollie joined #rest
15:05 timg___ joined #rest
15:10 pdurbin happiness is discoving there's already an API endpoint for the endpoint you were about to write
15:12 _ollie joined #rest
15:17 azr joined #rest
15:32 fumanchu :)
17:01 rosstuck joined #rest
17:19 azr joined #rest
17:24 bluezone joined #rest
18:05 azr joined #rest
18:37 azr joined #rest
18:51 timg___ joined #rest
18:59 _ollie joined #rest
19:14 _ollie joined #rest
19:26 _ollie joined #rest
19:39 josdotso joined #rest
19:53 azr joined #rest
21:11 mgomezch joined #rest
21:23 foist joined #rest
21:24 foist_ joined #rest
21:36 _ollie joined #rest
22:06 azr joined #rest
22:11 CentaurWarchief hey fellas, which one do you think would be best: /user/email/verify or /user/verify/email?
22:13 StatelessCat hey CentaurWarchief
22:13 CentaurWarchief StatelessCat: hi!
22:14 whartung As a tattoo, I like neither. What were thinking of using them for?
22:14 whartung *you thinking...
22:14 StatelessCat CentaurWarchief: I think there is no fixed rules to this. But IMO /user/email/verify means that verify is a Ressource. That annoy me
22:14 whartung "Hey guys, which is better. Blue or Rockabilly?"
22:15 whartung +1 Green!
22:15 StatelessCat CentaurWarchief: why /user/email/verify and not /user/<userid>/email for identifying the email of a specific user ?
22:15 CentaurWarchief StatelessCat: agreed, and I also think that /emai/verify is more imperative over the field
22:15 StatelessCat whartung: I prefer the NyanCat !
22:15 CentaurWarchief /user/email/verify
22:16 StatelessCat CentaurWarchief: are you creating something like a SOAP WebService inside your REST Service ? :)
22:16 CentaurWarchief nope
22:16 whartung Were you plannig on baking with those, or was it simply for the water slide?
22:16 StatelessCat CentaurWarchief: for me /user/email/verify means nothing in the "REST" way, but i can be wrong
22:17 CentaurWarchief why it doesn't?
22:17 CentaurWarchief we use a `PUT` verb on this path, requiring a `token` in the body
22:19 CentaurWarchief well, what happens under the hood is quite simple and maybe familiar, someone goes to our signup page, we ask for an email and we need to verify it as usual
22:20 StatelessCat joined #rest
22:20 CentaurWarchief StatelessCat:
22:20 CentaurWarchief <CentaurWarchief> why it doesn't?
22:20 CentaurWarchief <CentaurWarchief> we use a `PUT` verb on this path, requiring a `token` in the body
22:20 CentaurWarchief <CentaurWarchief> well, what happens under the hood is quite simple and maybe familiar, someone goes to our signup page, we ask for an email and we need to verify it as usual
22:20 StatelessCat re, you killed the StatelessCat :)
22:20 StatelessCat thanks for the backlog
22:20 CentaurWarchief np
22:21 CentaurWarchief well, we simply generate a random uuid token and send a link to the user email
22:21 StatelessCat hum email is a ressource, right ?
22:22 CentaurWarchief no
22:22 StatelessCat in the sense of a 'Web resource', defiend by an URI ?
22:22 StatelessCat ok
22:23 StatelessCat so maybe i'm wrong but you re doing REST right now ?
22:36 CentaurWarchief left #rest

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

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