greptilian logo

IRC log for #rest, 2014-08-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
01:53 tr3onlin_ joined #rest
03:03 fumanchu_ joined #rest
03:24 systmkor joined #rest
06:31 _ollie joined #rest
06:50 rosstuck joined #rest
07:35 fumanchu joined #rest
07:59 _ollie1 joined #rest
08:08 martinfilliau joined #rest
08:11 Left_Turn joined #rest
08:12 tr3online joined #rest
08:24 danfinch joined #rest
08:29 tr3online joined #rest
08:31 tr3online joined #rest
08:34 fumanchu_ joined #rest
08:37 azer_ joined #rest
08:55 tr3online joined #rest
08:57 tr3online joined #rest
09:05 graste1 joined #rest
09:05 graste2 joined #rest
09:09 graste joined #rest
09:20 tr3online joined #rest
09:22 tr3online joined #rest
09:42 tr3online joined #rest
09:43 tr3online joined #rest
10:06 tr3online joined #rest
10:08 tr3online joined #rest
10:23 shrink0r joined #rest
10:29 az3r joined #rest
10:45 tr3online joined #rest
10:48 tr3online joined #rest
10:57 tr3online joined #rest
10:57 tr3online joined #rest
11:00 larsks joined #rest
11:01 tr3online joined #rest
11:02 tr3online joined #rest
11:10 _ollie joined #rest
11:42 tr3online joined #rest
11:42 tr3online joined #rest
11:51 tr3online joined #rest
11:52 tr3online joined #rest
12:02 danizord joined #rest
12:08 charlie_ joined #rest
12:08 tr3online joined #rest
12:09 tr3online joined #rest
12:10 tr3online joined #rest
12:11 tr3online joined #rest
12:15 tr3online joined #rest
12:16 tr3online joined #rest
12:18 az3r joined #rest
12:21 tr3online joined #rest
12:21 tr3online joined #rest
12:22 tr3online joined #rest
12:22 tr3online joined #rest
12:26 tr3online joined #rest
12:42 tr3online joined #rest
12:43 tr3online joined #rest
12:43 tr3online joined #rest
12:44 tr3online joined #rest
12:50 tr3online joined #rest
12:51 tr3online joined #rest
13:30 tr3online joined #rest
13:31 tr3online joined #rest
13:32 tr3online joined #rest
13:33 tr3online joined #rest
13:35 tr3online joined #rest
13:36 tr3online joined #rest
13:39 tr3online joined #rest
13:41 tr3online joined #rest
13:47 rosstuck joined #rest
13:48 tr3online joined #rest
13:50 saml joined #rest
13:51 tr3online joined #rest
13:53 tr3online joined #rest
14:03 tr3online joined #rest
14:03 tr3online joined #rest
14:04 tr3online joined #rest
14:04 tr3online joined #rest
14:07 licyeus_ joined #rest
14:13 Left_Turn joined #rest
14:15 pezra joined #rest
14:16 tr3online joined #rest
14:18 tr3online joined #rest
14:18 tr3online joined #rest
14:19 tr3online joined #rest
14:19 tr3online joined #rest
14:21 tr3online joined #rest
14:22 tr3online joined #rest
14:30 tr3online joined #rest
14:30 tr3online joined #rest
14:43 tr3online joined #rest
14:48 tr3online joined #rest
14:48 tr3online joined #rest
14:49 tr3online joined #rest
14:50 tr3online joined #rest
14:50 tr3onlin_ joined #rest
14:51 tr3online joined #rest
14:52 tr3onlin_ joined #rest
14:53 tr3online joined #rest
14:53 tr3onlin_ joined #rest
14:54 tr3online joined #rest
15:00 tr3online joined #rest
15:00 tr3online joined #rest
15:01 tr3onlin_ joined #rest
15:01 * danizord is away: brb
15:01 tr3online joined #rest
15:13 tr3online joined #rest
15:14 tr3online joined #rest
15:20 tr3online joined #rest
15:23 tr3online joined #rest
15:24 tr3online joined #rest
15:25 tr3online joined #rest
15:25 tr3online joined #rest
15:45 tr3online joined #rest
15:54 tr3online joined #rest
15:56 tr3online joined #rest
15:57 tr3online joined #rest
16:00 tr3online joined #rest
16:01 tr3online joined #rest
16:03 tr3online joined #rest
16:05 tr3online joined #rest
16:05 tr3online joined #rest
16:06 tr3online joined #rest
16:07 tr3online joined #rest
16:08 tr3online joined #rest
16:09 tr3online joined #rest
16:10 tr3online joined #rest
16:12 tr3online joined #rest
16:13 tr3online joined #rest
16:19 tr3online joined #rest
17:32 * danizord is back (gone 02:31:06)
17:51 tr3online joined #rest
17:53 augustohp joined #rest
17:53 augustohp Is there any "standard" on creating a route to do just validation!?
17:53 tr3online joined #rest
17:54 saml what do you mean?
17:54 saml you want to create different uri for validation only?
17:54 saml usually client makes a request and you validate the request
17:55 saml for every single request / resource
17:56 augustohp saml: Yes, we currently handle that way and will continue to handle it. But that just works when the whole resource is sumitted.
17:56 saml could you give us an example of what you are trying to accomplish?
17:57 saml you want to handle PUT request that is only a part of resource?
17:57 whartung yea, so far what I see doesn't make much sense to me
17:57 saml like PATCH ?
17:57 augustohp saml: For example, an user is registering himself, putting email and password. We validate the registration only upon submission of the whole resource, we want to provide a way for the clients of the API to send just the information they want to validate to us, without registering anyone.
17:58 saml oh i see
17:58 augustohp Like, you type your email and the email already exists on our database.
17:58 augustohp The client of the API want to provide these feedback while the user is typing, without the need to submit the whole form.
17:58 saml GET /users/?email=a@a.com         can return a collection of length 0  or one resource?
17:59 augustohp The search example for the e-mail already on the database is a good way to solve it. I agrre.
17:59 augustohp But imagine we need also to validate smething as the domain of the email? Only given domains are accepted?
17:59 saml i don't know.. maybe HEAD can be used
18:00 augustohp A search woudn't apply to that.
18:00 saml no HEAD doesn't make sense there :P
18:01 augustohp Yeah, I though on a validation resource really: POST /users/validation/email
18:01 augustohp But it doesn't make sense on my mind...
18:01 saml POST /users/       {"email": "goo"}     might resond with 4xx error
18:01 saml and does not actually create the user since validation failed
18:03 augustohp I fell like an idiot.
18:04 augustohp saml: Thanks man.
18:45 systmkor joined #rest
18:57 danizord joined #rest
19:33 shrink0r joined #rest
19:57 trygvis_ joined #rest
19:57 daxim_ joined #rest
20:00 pezra joined #rest
20:13 tr3online joined #rest
20:44 tr3online joined #rest
20:47 shrink0r joined #rest
22:12 philbot joined #rest
22:12 Topic for #rest is now #rest REpresentational State Transfer | logs: http://irclog.greptilian.com/rest/today |  http://tech.groups.yahoo.com/group/rest-discuss | http://code.google.com/p/implementing-rest/ | http://en.wikipedia.org/wiki/Representational_State_Transfer
22:16 systmkor joined #rest
22:43 systmkor joined #rest
23:01 swapnik joined #rest
23:02 swapnik left #rest
23:41 systmkor1 joined #rest

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

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